From 6c8feeb60a9fd7ac6e1ede1a390512102f6502c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jacob=20St=C3=B8ren?= Date: Thu, 29 Aug 2019 11:46:41 +0200 Subject: [PATCH] caf: Made Right upper cross-button (cancle) work in the tabbed property dialog --- .../cafUserInterface/cafPdmUiTabbedPropertyViewDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fwk/AppFwk/cafUserInterface/cafPdmUiTabbedPropertyViewDialog.cpp b/Fwk/AppFwk/cafUserInterface/cafPdmUiTabbedPropertyViewDialog.cpp index 6076f4f364..7b9f89c794 100644 --- a/Fwk/AppFwk/cafUserInterface/cafPdmUiTabbedPropertyViewDialog.cpp +++ b/Fwk/AppFwk/cafUserInterface/cafPdmUiTabbedPropertyViewDialog.cpp @@ -21,7 +21,7 @@ PdmUiTabbedPropertyViewDialog::PdmUiTabbedPropertyViewDialog(caf::PdmObject* obj const QStringList& uiConfigNameForTabs, const QString& windowTitle, QWidget* parent) - : QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint) + : QDialog(parent, Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowCloseButtonHint) { this->setWindowTitle(windowTitle);