X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=inline;f=cinelerra-5.1%2Fcinelerra%2Fpreferencesthread.C;h=af64fed165775894bd6c9908a9dfcc946b0e3601;hb=7eded24eb31529ad7652dea64e34b0a6210e5be1;hp=87a90096bb72b317f49daecbd00ee68ff510991b;hpb=5c1aff2fd123b65be6e51ca7652185e14ddaf168;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/preferencesthread.C b/cinelerra-5.1/cinelerra/preferencesthread.C index 87a90096..af64fed1 100644 --- a/cinelerra-5.1/cinelerra/preferencesthread.C +++ b/cinelerra-5.1/cinelerra/preferencesthread.C @@ -235,7 +235,9 @@ int PreferencesThread::apply_settings() 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;