#endif
ModuleBase_OperationFeature::ModuleBase_OperationFeature(const QString& theId, QObject* theParent)
-: ModuleBase_Operation(theId, theParent), myIsEditing(false), myNeedToBeAborted(false)
+: ModuleBase_Operation(theId, theParent), myIsEditing(false), myNeedToBeAborted(false),
+myRestartTransactionOnResume(false)
{
}
theProp->setFocusOnOkButton();
}
}
+
+void ModuleBase_OperationFeature::resumeOperation()
+{
+ if (myRestartTransactionOnResume) {
+ ModelAPI_Session::get()->startOperation(this->id().toStdString(), true);
+ myRestartTransactionOnResume = false;
+ }
+}