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

This commit is contained in:
gxalpha 2023-05-01 02:39:57 +02:00 committed by Ryan Foster
parent e1b02e5b8a
commit f6b6873aaa

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);