13
0

Place "Lock" dialog in the center of the screen

This commit is contained in:
Robin Gareus 2024-06-19 21:24:43 +02:00
parent 7990454c59
commit b35e5f2e23
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -9205,6 +9205,7 @@ Editor::lock ()
delete _main_menu_disabler;
_main_menu_disabler = new MainMenuDisabler;
lock_dialog->set_position (Gtk::WIN_POS_CENTER);
lock_dialog->present ();
lock_dialog->get_window()->set_decorations (Gdk::WMDecoration (0));