Resolved issue #417. Valentina don't change cursor to arrow when we change the mode

--HG--
branch : develop
This commit is contained in:
Valentina Zhuravska 2015-12-19 03:20:15 +02:00
parent 103eb7b438
commit 662ae70919

View File

@ -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<quint32, VDetail> *details = pattern->DataDetails();
if(not qApp->getOpeningPattern())
{
@ -1924,6 +1926,7 @@ void MainWindow::ActionLayout(bool checked)
{
if (checked)
{
ArrowTool();
const QHash<quint32, VDetail> *details = pattern->DataDetails();
if(not qApp->getOpeningPattern())
{