/// Returns whether the parameter operation is granted in relation to the previous operation
/// in a stack of started operations. It is used in canStopOperation to avoid warning message
/// when granted operation is aborted, e.g. SketchLine in Sketch
- /// \param theOperation the started operation
+ /// \param theId id of the operation which is checked
/// \return boolean result
- bool isGrantedOperation(ModuleBase_Operation* theOperation);
+ bool isGrantedOperation(const QString& theId);
/// Sets the feature as a current in the document
/// \param theFeature a feature