#include <QMouseEvent>
#include <QString>
#include <QTimer>
+#include <QApplication>
#include <GeomAlgoAPI_FaceBuilder.h>
#include <GeomDataAPI_Dir.h>
} else if (isSketchOpe && isEditing) {
aOperation->abort();
- //myCurrentSketch = aOperation->parentFeature();
myIsDragging = true;
get2dPoint(theWnd, theEvent, myCurX, myCurY);
myDragDone = false;
myWorkshop->viewer()->enableSelection(false);
- QTimer::singleShot(10, this, SLOT(launchEditing()));
+ // This is necessary in order to finalize previous operation
+ QApplication::processEvents();
+ launchEditing();
+ //QTimer::singleShot(10, this, SLOT(launchEditing()));
}
}
}