瀏覽代碼

KeyboardSettings: Prevent minimising the window

This matches how the new MouseSettings application works.
Jamie Mansfield 4 年之前
父節點
當前提交
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->set_title("Keyboard Settings");
     window->resize(300, 70);
     window->resize(300, 70);
     window->set_resizable(false);
     window->set_resizable(false);
+    window->set_minimizable(false);
     window->set_icon(app_icon.bitmap_for_size(16));
     window->set_icon(app_icon.bitmap_for_size(16));
 
 
     auto& root_widget = window->set_main_widget<GUI::Widget>();
     auto& root_widget = window->set_main_widget<GUI::Widget>();