Просмотр исходного кода

main: Apply settings after applet configuration is complete.

Morph 5 лет назад
Родитель
Сommit
6597b3817c
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      src/yuzu/main.cpp

+ 4 - 0
src/yuzu/main.cpp

@@ -295,6 +295,10 @@ void GMainWindow::ControllerSelectorReconfigureControllers(
 
     emit ControllerSelectorReconfigureFinished();
 
+    // Don't forget to apply settings.
+    Settings::Apply();
+    config->Save();
+
     UpdateStatusButtons();
 }