1
0
Эх сурвалжийг харах

UI: Re-raise missing files dialog on macOS after file is selected

gxalpha 2 жил өмнө
parent
commit
8b48d8e867

+ 5 - 0
UI/window-missing-files.cpp

@@ -164,6 +164,11 @@ void MissingFilesPathItemDelegate::handleBrowse(QWidget *container)
 			container, QTStr("MissingFiles.SelectFile"),
 			currentPath, nullptr);
 
+#ifdef __APPLE__
+		// TODO: Revisit when QTBUG-42661 is fixed
+		container->window()->raise();
+#endif
+
 		if (!newPath.isEmpty()) {
 			container->setProperty(PATH_LIST_PROP,
 					       QStringList() << newPath);