mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-17 06:52:23 +00:00
KeyboardSettings: Prevent minimising the window
This matches how the new MouseSettings application works.
This commit is contained in:
parent
902559fc2d
commit
3d4abd7154
Notes:
sideshowbarker
2024-07-18 08:19:24 +09:00
Author: https://github.com/jamierocks
Commit: 3d4abd7154
Pull-request: https://github.com/SerenityOS/serenity/pull/9021
1 changed files with 1 additions and 0 deletions
|
@ -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>();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue