From b8ead3de2d0a8d4f31c303bb0591efaf167ce74e Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 5 Nov 2015 13:19:08 +0300 Subject: [PATCH] Revolution Cut: it should not be a warning about abort circle sketch operation when the line sketch operation is started(by click on the line action in the tool bar) --- src/XGUI/XGUI_OperationMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XGUI/XGUI_OperationMgr.cpp b/src/XGUI/XGUI_OperationMgr.cpp index ace0a2749..4cf2001e1 100644 --- a/src/XGUI/XGUI_OperationMgr.cpp +++ b/src/XGUI/XGUI_OperationMgr.cpp @@ -294,7 +294,7 @@ bool XGUI_OperationMgr::isGrantedOperation(const QString& theId) QListIterator 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); -- 2.39.2