Skip to content

Commit

Permalink
Fix expansion bank column not being restored
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhealey committed Jan 24, 2022
1 parent 48735ee commit e211a21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hi_components/plugin_components/PresetBrowser.cpp
Expand Up @@ -676,8 +676,6 @@ expHandler(mc->getExpansionHandler())
presetColumn->tagCacheNeedsRebuilding();
presetColumn->setAllowRecursiveFileSearch(true);

bankColumn->setNewRootDirectory(rootFile);

addAndMakeVisible(saveButton = new TextButton("Save Preset"));
saveButton->addListener(this);

Expand All @@ -693,6 +691,8 @@ expHandler(mc->getExpansionHandler())
rootFile = e->getSubDirectory(FileHandlerBase::UserPresets);
currentlySelectedExpansion = e;
}

bankColumn->setNewRootDirectory(rootFile);

rebuildAllPresets();

Expand Down

0 comments on commit e211a21

Please sign in to comment.