Fix bug. Pressing Escape key disables undocommands.
--HG-- branch : develop
This commit is contained in:
parent
c180a26e09
commit
238e6fb24b
|
@ -2277,7 +2277,7 @@ QT_WARNING_POP
|
|||
*/
|
||||
void MainWindow::ArrowTool(bool checked)
|
||||
{
|
||||
if (checked)
|
||||
if (checked && currentTool != Tool::Arrow)
|
||||
{
|
||||
qCDebug(vMainWindow, "Arrow tool.");
|
||||
CancelTool();
|
||||
|
|
Loading…
Reference in New Issue
Block a user