X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_Operation.cpp;h=8b19dcd8270b9c0a57a0f5f1826ba605c911b774;hb=29dfb8a802f61cacf5f57fb79c62badee00ebcdf;hp=009502dcb6f525c7076369ec593aff5780cfed70;hpb=f0f8fbdcadad2d5d42c443e70afc6251faea1469;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_Operation.cpp b/src/ModuleBase/ModuleBase_Operation.cpp index 009502dcb..8b19dcd82 100644 --- a/src/ModuleBase/ModuleBase_Operation.cpp +++ b/src/ModuleBase/ModuleBase_Operation.cpp @@ -60,16 +60,6 @@ void ModuleBase_Operation::setGrantedOperationIds(const QStringList& theList) myGrantedIds = theList; } -void ModuleBase_Operation::addGrantedOperationId(const QString& theId) -{ - myGrantedIds.append(theId); -} - -void ModuleBase_Operation::removeGrantedOperationId(const QString& theId) -{ - myGrantedIds.removeAll(theId); -} - QString ModuleBase_Operation::id() const { return getDescription()->operationId(); @@ -85,7 +75,7 @@ bool ModuleBase_Operation::canBeCommitted() const return isValid(); } -void ModuleBase_Operation::start() +bool ModuleBase_Operation::start() { myIsModified = false; @@ -93,6 +83,8 @@ void ModuleBase_Operation::start() startOperation(); emit started(); + + return true; } void ModuleBase_Operation::postpone()