diff options
author | Eike Ziller <eike.ziller@qt.io> | 2019-09-06 09:44:02 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2019-09-09 13:44:29 +0000 |
commit | 6476c62065aac7810b3c0c25c36ed85199d534f1 (patch) | |
tree | 23a3595583e2f84811e83400cc7e80fdc4df808f | |
parent | d72632acd646eb6dd4552a0a7ddd30ea3dacd46f (diff) | |
download | qt-creator-6476c62065aac7810b3c0c25c36ed85199d534f1.tar.gz |
macOS: Work around window stacking order issue after closing dialog
Fixes: QTCREATORBUG-22906
Change-Id: Id3c9f5e87ac83686b34c7f6d2e445312fc401ba6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
-rw-r--r-- | src/libs/utils/pathchooser.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libs/utils/pathchooser.cpp b/src/libs/utils/pathchooser.cpp index f08391d6a6..746805bb12 100644 --- a/src/libs/utils/pathchooser.cpp +++ b/src/libs/utils/pathchooser.cpp @@ -449,6 +449,10 @@ void PathChooser::slotBrowse() break; } + // work around QTBUG-61004 / QTCREATORBUG-22906 + window()->raise(); + window()->activateWindow(); + // Delete trailing slashes unless it is "/"|"\\", only if (!newPath.isEmpty()) { newPath = QDir::toNativeSeparators(newPath); |