#include "bchash.h"
#include "edl.h"
#include "edlsession.h"
+#include "file.h"
#include "filesystem.h"
#include "fonts.h"
#include "interfaceprefs.h"
-#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 ) {
+ MWindow::remove_plugin_index();
+ File::setenv_path("LV2_PATH", preferences->lv2_path, 1);
+ mwindow->restart_status = -1;
+ }
mwindow->edl->copy_session(edl, 1);
mwindow->preferences->copy_from(preferences);
int PreferencesApply::handle_event()
{
thread->apply_settings();
+ mwindow->save_defaults();
return 1;
}
int PreferencesApply::resize_event(int w, int h)