From 7ee1884f6e68b33a20f1490e8d6ff236a5858aa5 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Wed, 12 Mar 2014 19:01:25 +0200 Subject: Make some dialogs modal to MainWindow For most dialogs it would be much safer to make them Qt::WindowModal to the parent (MainWindow). For now we are not doing this for the preferences dialog as there are situations where the user might want to be able to move it around and even interact with the main window. Signed-off-by: Lubomir I. Ivanov Signed-off-by: Dirk Hohndel --- qt-ui/divecomputermanagementdialog.ui | 3 +++ 1 file changed, 3 insertions(+) (limited to 'qt-ui/divecomputermanagementdialog.ui') diff --git a/qt-ui/divecomputermanagementdialog.ui b/qt-ui/divecomputermanagementdialog.ui index 59be88122..9af67bfb9 100644 --- a/qt-ui/divecomputermanagementdialog.ui +++ b/qt-ui/divecomputermanagementdialog.ui @@ -2,6 +2,9 @@ DiveComputerManagementDialog + + Qt::WindowModal + 0 -- cgit v1.2.3-70-g09d2