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

KeyboardSettings: Prevent minimising the window

This matches how the new MouseSettings application works.
Jamie Mansfield 4 лет назад
Родитель
Сommit
3d4abd7154
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      Userland/Applications/KeyboardSettings/main.cpp

+ 1 - 0
Userland/Applications/KeyboardSettings/main.cpp

@@ -104,6 +104,7 @@ int main(int argc, char** argv)
     window->set_title("Keyboard Settings");
     window->resize(300, 70);
     window->set_resizable(false);
+    window->set_minimizable(false);
     window->set_icon(app_icon.bitmap_for_size(16));
 
     auto& root_widget = window->set_main_widget<GUI::Widget>();