mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Remove use of progress dialog, unstable behaviour
In some cases, the progress dialog remains visible after the computation is completed. When an expression is applied to multiple cases, text is output to Messages window. This can be used to give user information on progress.
This commit is contained in:
@@ -45,8 +45,6 @@
|
||||
|
||||
#include "expressionparser/ExpressionParser.h"
|
||||
|
||||
#include "cafProgressInfo.h"
|
||||
|
||||
#include <QMessageBox>
|
||||
|
||||
CAF_PDM_SOURCE_INIT( RimGridCalculation, "RimGridCalculation" );
|
||||
@@ -560,9 +558,6 @@ bool RimGridCalculation::calculateForCases( const std::vector<RimEclipseCase*>&
|
||||
}
|
||||
}
|
||||
|
||||
caf::ProgressInfo progressInfo( calculationCases.size(), "Processing Grid Calculations" );
|
||||
size_t progressIndex = 0;
|
||||
|
||||
std::vector<std::vector<double>> allAggregatedValues;
|
||||
|
||||
bool anyErrorsDetected = false;
|
||||
@@ -694,8 +689,6 @@ bool RimGridCalculation::calculateForCases( const std::vector<RimEclipseCase*>&
|
||||
|
||||
RiaLogging::info( txt );
|
||||
}
|
||||
|
||||
progressInfo.setProgress( progressIndex++ );
|
||||
}
|
||||
|
||||
if ( isMultipleCasesPresent )
|
||||
|
||||
Reference in New Issue
Block a user