mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Avoid progress window staying behind on Linux when loading summary data (#9774)
Adjust progress info usage in summary file loading
This commit is contained in:
@@ -652,6 +652,8 @@ void ProgressInfoStatic::finished()
|
||||
dialog->setLabelText( currentComposedLabel() );
|
||||
}
|
||||
|
||||
QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents );
|
||||
|
||||
// If we are finishing the last level, clean up
|
||||
if ( maxProgressStack_v.empty() )
|
||||
{
|
||||
@@ -662,12 +664,6 @@ void ProgressInfoStatic::finished()
|
||||
s_running = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Make sure the Gui is repainted
|
||||
QCoreApplication::processEvents( QEventLoop::ExcludeUserInputEvents );
|
||||
// if (progressDialog()) progressDialog()->repaint();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user