Popup window placement improvements (#13464)

* Improve parent settings for message boxes and progress info
This commit is contained in:
JJ authored and GitHub committed 2026-01-21 19:11:41 +01:00
1 parent ef3ced9b8a
commit 3e06a61ed5
54 files changed
+203 -95

No files matched your search

@@ -19,6 +19,7 @@
#include "RimGenericJob.h"
#include "RiaColorTools.h"
#include "RiaGuiApplication.h"
#include "RiaLogging.h"
#include "RimJobMonitor.h"
@@ -170,7 +171,9 @@ bool RimGenericJob::execute()
m_lastRunFailed = true;
m_isRunning = false;
setDeletable( true );
QMessageBox::critical( nullptr, name(), "Failed to start job. Check log window for additional information." );
QMessageBox::critical( RiaGuiApplication::widgetToUseAsParent(),
name(),
"Failed to start job. Check log window for additional information." );
}
return startOk;