From 662ae709198e9511d296e33202e472745a5168c7 Mon Sep 17 00:00:00 2001 From: Valentina Zhuravska Date: Sat, 19 Dec 2015 03:20:15 +0200 Subject: [PATCH] Resolved issue #417. Valentina don't change cursor to arrow when we change the mode --HG-- branch : develop --- src/app/valentina/mainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index 0734d3d73..eb5619001 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -1777,6 +1777,7 @@ void MainWindow::ActionDraw(bool checked) if (checked) { qCDebug(vMainWindow, "Show draw scene"); + ArrowTool(); leftGoToStage->setPixmap(QPixmap("://icon/24x24/fast_forward_left_to_right_arrow.png")); rightGoToStage->setPixmap(QPixmap("://icon/24x24/left_to_right_arrow.png")); @@ -1839,6 +1840,7 @@ void MainWindow::ActionDetails(bool checked) { if (checked) { + ArrowTool(); const QHash *details = pattern->DataDetails(); if(not qApp->getOpeningPattern()) { @@ -1924,6 +1926,7 @@ void MainWindow::ActionLayout(bool checked) { if (checked) { + ArrowTool(); const QHash *details = pattern->DataDetails(); if(not qApp->getOpeningPattern()) {