From 238e6fb24b1d3610b49be3720c446d638f323779 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 11 Nov 2017 11:28:54 +0200 Subject: [PATCH] Fix bug. Pressing Escape key disables undocommands. --HG-- branch : develop --- src/app/valentina/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/valentina/mainwindow.cpp b/src/app/valentina/mainwindow.cpp index 8628af8f3..adf9db94d 100644 --- a/src/app/valentina/mainwindow.cpp +++ b/src/app/valentina/mainwindow.cpp @@ -2277,7 +2277,7 @@ QT_WARNING_POP */ void MainWindow::ArrowTool(bool checked) { - if (checked) + if (checked && currentTool != Tool::Arrow) { qCDebug(vMainWindow, "Arrow tool."); CancelTool();