mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 01:12:11 -05:00
Merge pull request #8882 from OPM/append_curves
Summary Multiplot: Source Stepping append curves with performance fixes
This commit is contained in:
1 parent
bb6ca0848d
commit
296ddbde42
20 files changed
+349
-73
No files matched your search
@@ -29,7 +29,8 @@
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimDataSourceSteppingTools::modifyCurrentIndex( caf::PdmValueField* valueField,
|
||||
const QList<caf::PdmOptionItemInfo>& options,
|
||||
int indexOffset )
|
||||
int indexOffset,
|
||||
bool notifyChange )
|
||||
{
|
||||
if ( valueField && !options.isEmpty() )
|
||||
{
|
||||
@@ -65,7 +66,7 @@ void RimDataSourceSteppingTools::modifyCurrentIndex( caf::PdmValueField*
|
||||
{
|
||||
QVariant newValue = options[nextIndex].value();
|
||||
valueField->setFromQVariant( newValue );
|
||||
valueField->uiCapability()->notifyFieldChanged( currentValue, newValue );
|
||||
if ( notifyChange ) valueField->uiCapability()->notifyFieldChanged( currentValue, newValue );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user