From: Thomas Debesse Date: Sun, 14 Jul 2019 15:37:02 +0000 (+0200) Subject: radiant: restart on latched preference change X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=91ae9293188b2558781e1d4b352444f4d2f31d50;p=xonotic%2Fnetradiant.git radiant: restart on latched preference change --- diff --git a/radiant/preferences.cpp b/radiant/preferences.cpp index e31bc048..e85bd92c 100644 --- a/radiant/preferences.cpp +++ b/radiant/preferences.cpp @@ -917,6 +917,8 @@ void PreferencesDialog_showDialog(){ ui::alert( MainFrame_getWindow(), message.c_str() ); g_restart_required.clear(); + + Radiant_Restart(); } } }