mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
#5505 Progress Bar : Control visibility of progress bar in Preferences
This commit is contained in:
@@ -672,6 +672,14 @@ namespace caf {
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void ProgressInfoStatic::setEnabled(bool enable)
|
||||
{
|
||||
s_disabled = !enable;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -87,6 +87,7 @@ public:
|
||||
static void setNextProgressIncrement(size_t nextStepSize);
|
||||
static bool isRunning();
|
||||
static void finished();
|
||||
static void setEnabled(bool enable);
|
||||
|
||||
private:
|
||||
static bool isUpdatePossible();
|
||||
|
||||
Reference in New Issue
Block a user