mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7520 Undo framework: Improve local disabling of undo framework
This commit is contained in:
@@ -1121,6 +1121,17 @@ void RimWellRftPlot::onLegendDefinitionChanged()
|
||||
syncCurvesFromUiSelection();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimWellRftPlot::useUndoRedoForFieldChanged()
|
||||
{
|
||||
// m_selectedSources use data types that are not compatible with caf
|
||||
// consider rewrite to caf object using ptrfield instead of pdmpointer
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
@@ -102,6 +102,7 @@ protected:
|
||||
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
|
||||
void onLoadDataAndUpdate() override;
|
||||
void initAfterRead() override;
|
||||
bool useUndoRedoForFieldChanged() override;
|
||||
|
||||
private:
|
||||
std::map<QString, QStringList> findWellSources();
|
||||
|
||||
Reference in New Issue
Block a user