diff --git a/src/libs/vtools/dialogs/tools/dialogflippingbyaxis.cpp b/src/libs/vtools/dialogs/tools/dialogflippingbyaxis.cpp index dd17763c8..3ae02db7b 100644 --- a/src/libs/vtools/dialogs/tools/dialogflippingbyaxis.cpp +++ b/src/libs/vtools/dialogs/tools/dialogflippingbyaxis.cpp @@ -55,6 +55,7 @@ #include "../vpatterndb/vcontainer.h" #include "../vwidgets/vabstractmainwindow.h" #include "../vwidgets/vmaingraphicsscene.h" +#include "../vwidgets/vmaingraphicsview.h" #include "ui_dialogflippingbyaxis.h" //--------------------------------------------------------------------------------------------------------------------- @@ -175,6 +176,8 @@ void DialogFlippingByAxis::ShowDialog(bool click) scene->ToggleSplineHover(false); scene->ToggleSplinePathHover(false); + qApp->getSceneView()->AllowRubberBand(false); + emit ToolTip(tr("Select origin point")); } else if (not stage1 && prepare && click) diff --git a/src/libs/vtools/dialogs/tools/dialogflippingbyline.cpp b/src/libs/vtools/dialogs/tools/dialogflippingbyline.cpp index 4d1a8e4ec..d7f45068f 100644 --- a/src/libs/vtools/dialogs/tools/dialogflippingbyline.cpp +++ b/src/libs/vtools/dialogs/tools/dialogflippingbyline.cpp @@ -55,6 +55,7 @@ #include "../vpatterndb/vcontainer.h" #include "../vwidgets/vabstractmainwindow.h" #include "../vwidgets/vmaingraphicsscene.h" +#include "../vwidgets/vmaingraphicsview.h" #include "ui_dialogflippingbyline.h" //--------------------------------------------------------------------------------------------------------------------- @@ -174,6 +175,8 @@ void DialogFlippingByLine::ShowDialog(bool click) scene->ToggleSplineHover(false); scene->ToggleSplinePathHover(false); + qApp->getSceneView()->AllowRubberBand(false); + emit ToolTip(tr("Select first line point")); } else if (not stage1 && prepare && click) diff --git a/src/libs/vtools/dialogs/tools/dialogmove.cpp b/src/libs/vtools/dialogs/tools/dialogmove.cpp index c11575ba8..590d3ce5e 100644 --- a/src/libs/vtools/dialogs/tools/dialogmove.cpp +++ b/src/libs/vtools/dialogs/tools/dialogmove.cpp @@ -60,6 +60,7 @@ #include "../vpatterndb/vtranslatevars.h" #include "../vwidgets/vabstractmainwindow.h" #include "../vwidgets/vmaingraphicsscene.h" +#include "../vwidgets/vmaingraphicsview.h" #include "ui_dialogmove.h" //--------------------------------------------------------------------------------------------------------------------- @@ -280,6 +281,8 @@ void DialogMove::ShowDialog(bool click) scene->ToggleElArcHover(false); scene->ToggleSplineHover(false); scene->ToggleSplinePathHover(false); + + qApp->getSceneView()->AllowRubberBand(false); } else if (not stage2 && not stage1 && prepare && click) { diff --git a/src/libs/vtools/dialogs/tools/dialogrotation.cpp b/src/libs/vtools/dialogs/tools/dialogrotation.cpp index e518c2fd0..6a4bd3274 100644 --- a/src/libs/vtools/dialogs/tools/dialogrotation.cpp +++ b/src/libs/vtools/dialogs/tools/dialogrotation.cpp @@ -60,6 +60,7 @@ #include "../vpatterndb/vtranslatevars.h" #include "../vwidgets/vabstractmainwindow.h" #include "../vwidgets/vmaingraphicsscene.h" +#include "../vwidgets/vmaingraphicsview.h" #include "ui_dialogrotation.h" //--------------------------------------------------------------------------------------------------------------------- @@ -197,6 +198,8 @@ void DialogRotation::ShowDialog(bool click) scene->ToggleSplineHover(false); scene->ToggleSplinePathHover(false); + qApp->getSceneView()->AllowRubberBand(false); + emit ToolTip(tr("Select origin point")); } else if (not stage1 && prepare && click)