forked from qt-creator/qt-creator
macOS: Work around window stacking order issue after closing dialog
Fixes: QTCREATORBUG-22906 Change-Id: Id3c9f5e87ac83686b34c7f6d2e445312fc401ba6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -449,6 +449,10 @@ void PathChooser::slotBrowse()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// work around QTBUG-61004 / QTCREATORBUG-22906
|
||||||
|
window()->raise();
|
||||||
|
window()->activateWindow();
|
||||||
|
|
||||||
// Delete trailing slashes unless it is "/"|"\\", only
|
// Delete trailing slashes unless it is "/"|"\\", only
|
||||||
if (!newPath.isEmpty()) {
|
if (!newPath.isEmpty()) {
|
||||||
newPath = QDir::toNativeSeparators(newPath);
|
newPath = QDir::toNativeSeparators(newPath);
|
||||||
|
Reference in New Issue
Block a user