diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2019-11-28 11:03:37 +0100 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2019-11-28 10:15:47 +0000 |
commit | 4076b6a482b46d46faf7d0618f98d4dca3275cef (patch) | |
tree | b0e8369a6bd908457f10c9048d7db6753233cbcf /src | |
parent | 89a02029b87c4c94afe932a5d0df709d69b5acf9 (diff) | |
download | qt-creator-4076b6a482b46d46faf7d0618f98d4dca3275cef.tar.gz |
QmlDesigner: Fix bindingeditor on macOS
Without this the dialogs do not stay on top of the application.
Change-Id: I0b0ee06cad04ed1c8fba8dceebfbe1f93f6559cb
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/qmldesigner/components/bindingeditor/bindingeditordialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/components/bindingeditor/bindingeditordialog.cpp b/src/plugins/qmldesigner/components/bindingeditor/bindingeditordialog.cpp index 51bd771843..228020d238 100644 --- a/src/plugins/qmldesigner/components/bindingeditor/bindingeditordialog.cpp +++ b/src/plugins/qmldesigner/components/bindingeditor/bindingeditordialog.cpp @@ -45,6 +45,7 @@ BindingEditorDialog::BindingEditorDialog(QWidget *parent) : QDialog(parent) { setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint); + setWindowFlag(Qt::Tool, true); setWindowTitle(defaultTitle()); setModal(false); |