From 6b017f6a2c8aadc28831499c73ea0a8fae614a1f Mon Sep 17 00:00:00 2001 From: Kimmo Varis Date: Thu, 28 Oct 2010 22:32:01 +0300 Subject: [PATCH] GUI: Fix modality of Application dialog when editing application. --- gui/application.ui | 3 +++ gui/settingsdialog.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gui/application.ui b/gui/application.ui index ebd2db8a4..b73a3a94e 100644 --- a/gui/application.ui +++ b/gui/application.ui @@ -2,6 +2,9 @@ ApplicationDialog + + Qt::WindowModal + 0 diff --git a/gui/settingsdialog.cpp b/gui/settingsdialog.cpp index 93977beb3..aa7a84bb0 100644 --- a/gui/settingsdialog.cpp +++ b/gui/settingsdialog.cpp @@ -165,7 +165,7 @@ void SettingsDialog::ModifyApplication() ApplicationDialog dialog(mTempApplications->GetApplicationName(row), mTempApplications->GetApplicationPath(row), - tr("Modify an application")); + tr("Modify an application"), this); if (dialog.exec() == QDialog::Accepted) {