mirror of
https://gitlab.com/samplehive/sample-hive.git
synced 2026-10-23 21:25:00 +02:00
Fixed bug where deleting a folder with samples in it won't remove the samples from favorites and other minor fixes.
This commit is contained in:
+5
-1
@@ -923,7 +923,11 @@ Database::LoadDatabase(wxVector<wxVector<wxVariant>>& vecSet,
|
||||
{
|
||||
// wxLogDebug("Another folder by the name %s already exist. Please try with a different name.",
|
||||
// folder_name);
|
||||
favorite_tree.AppendItem(found_item, filename);
|
||||
if (show_extension)
|
||||
favorite_tree.AppendItem(found_item,
|
||||
wxString::Format("%s.%s", filename, file_extension));
|
||||
else
|
||||
favorite_tree.AppendItem(found_item, filename);
|
||||
}
|
||||
// else
|
||||
// {
|
||||
|
||||
Reference in New Issue
Block a user