X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fcinelerra%2Fpreferencesthread.C;fp=cinelerra-5.0%2Fcinelerra%2Fpreferencesthread.C;h=e59a099d7ad1e5d0576f4c9617e428e7b4f1558c;hb=af9d0b80674da7166da6faabe7cb43b4244c212c;hp=8f95e11967ab8f3e33c893c3d71e3f49d741472f;hpb=0fb566814c8a2948506be87ea7ecd08128ae119b;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/preferencesthread.C b/cinelerra-5.0/cinelerra/preferencesthread.C index 8f95e119..e59a099d 100644 --- a/cinelerra-5.0/cinelerra/preferencesthread.C +++ b/cinelerra-5.0/cinelerra/preferencesthread.C @@ -153,7 +153,7 @@ void PreferencesThread::handle_close_event(int result) edl = 0; mwindow->defaults->update("DEFAULTPREF", current_dialog); - if( mwindow->reload_status ) + if( mwindow->restart() ) mwindow->gui->set_done(0); } @@ -202,7 +202,7 @@ int PreferencesThread::apply_settings() !preferences->brender_asset->equivalent(*mwindow->preferences->brender_asset, 0, 1); if( strcmp(preferences->theme, mwindow->preferences->theme) != 0 ) - mwindow->reload_status = 1; + mwindow->restart_status = -1; // reload, need new bcresources mwindow->edl->copy_session(edl, 1); mwindow->preferences->copy_from(preferences);