Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Disable autoRepeat on view_show_canvas_only action

Timothée Gietc70d3ac73977
diff --git a/libs/ui/KisViewManager.cpp b/libs/ui/KisViewManager.cpp
index 05cd857eee..9020241f97 100644
--- a/libs/ui/KisViewManager.cpp
+++ b/libs/ui/KisViewManager.cpp
@@ -775,6 +775,7 @@ void KisViewManager::createActions()
tAction = actionManager()->createAction("view_show_canvas_only");
tAction->setChecked(false);
+ tAction->setAutoRepeat(false);
connect(tAction, SIGNAL(toggled(bool)), this, SLOT(switchCanvasOnly(bool)));
//Workaround, by default has the same shortcut as mirrorCanvas