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

This commit is contained in:
gxalpha
2023-05-18 18:07:12 -04:00
committed by Ryan Foster
parent e1b02e5b8a
commit f6b6873aaa
+5
View File
@@ -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);