]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
radiant: restart on latched preference change
authorThomas Debesse <dev@illwieckz.net>
Sun, 14 Jul 2019 15:37:02 +0000 (17:37 +0200)
committerThomas Debesse <dev@illwieckz.net>
Mon, 22 Jul 2019 02:09:24 +0000 (04:09 +0200)
radiant/preferences.cpp

index e31bc0487f063b6a33a97f380a53d539f56b3b52..e85bd92c9c5b4ef9beebe94b54983b9f72dd08e0 100644 (file)
@@ -917,6 +917,8 @@ void PreferencesDialog_showDialog(){
 
                        ui::alert( MainFrame_getWindow(), message.c_str() );
                        g_restart_required.clear();
+
+                       Radiant_Restart();
                }
        }
 }