-#define WIDTH 800
+#define WIDTH 840
#define HEIGHT 700
mwindow->restart_status = -1; // reload, need new bcresources
if( strcmp(preferences->plugin_icons, mwindow->preferences->plugin_icons) != 0 )
mwindow->restart_status = -1;
- if( strcmp(preferences->lv2_path, mwindow->preferences->lv2_path) != 0 ) {
+ if( strcmp(preferences->lv2_path, mwindow->preferences->lv2_path) != 0 )
+ reload_plugins = 1;
+ if( reload_plugins ) {
MWindow::remove_plugin_index();
File::setenv_path("LV2_PATH", preferences->lv2_path, 1);
mwindow->restart_status = -1;
int PreferencesApply::handle_event()
{
thread->apply_settings();
+ mwindow->save_defaults();
return 1;
}
int PreferencesApply::resize_event(int w, int h)