mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:27:35 +00:00
Terminal: Open settings as a modal window
To prevent the settings window from getting orphaned when someone closes the main window behind it.
This commit is contained in:
parent
6a892ea3a2
commit
3b8713a9df
1 changed files with 1 additions and 0 deletions
|
@ -132,6 +132,7 @@ RefPtr<GUI::Window> create_settings_window(TerminalWidget& terminal)
|
|||
auto window = GUI::Window::construct();
|
||||
window->set_title("Terminal Settings");
|
||||
window->set_rect(50, 50, 200, 140);
|
||||
window->set_modal(true);
|
||||
|
||||
auto settings = GUI::Widget::construct();
|
||||
window->set_main_widget(settings);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue