]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Revolution Cut: it should not be a warning about abort circle sketch operation when...
authornds <nds@opencascade.com>
Thu, 5 Nov 2015 10:19:08 +0000 (13:19 +0300)
committernds <nds@opencascade.com>
Thu, 5 Nov 2015 10:19:08 +0000 (13:19 +0300)
src/XGUI/XGUI_OperationMgr.cpp

index ace0a27492e4823377b3106e4b3a30a25f6c489e..4cf2001e1e28a50ae8ba778c624a1eea9f9de397 100644 (file)
@@ -294,7 +294,7 @@ bool XGUI_OperationMgr::isGrantedOperation(const QString& theId)
   QListIterator<ModuleBase_Operation*> anIt(myOperations);
   anIt.toBack();
   ModuleBase_Operation* aPreviousOperation = 0;
-  while (anIt.hasPrevious()) {
+  while (anIt.hasPrevious() && !isGranted) {
     ModuleBase_Operation* anOp = anIt.previous();
     if (anOp)
       isGranted = anOp->isGranted(theId);