[graphics/krita/krita/6.0] libs/ui: Disable autoRepeat on view_show_canvas_only action
Timothée Giet <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 16e78db32fb0c5aad204610ea8632f65148b9733 by Timothée Giet.
Committed on 24/07/2026 at 19:26.
Pushed by timotheegiet into branch 'krita/6.0'.
Disable autoRepeat on view_show_canvas_only action
BUG: 523469
Disable autoRepeat on this action to avoid triggering this bug.
M +1 -0 libs/ui/KisViewManager.cpp
https://invent.kde.org/graphics/krita/-/commit/16e78db32fb0c5aad204610ea8632f65148b9733
diff --git a/libs/ui/KisViewManager.cpp b/libs/ui/KisViewManager.cpp
index 9d7541d2217..d8ad99a3528 100644
--- a/libs/ui/KisViewManager.cpp
+++ b/libs/ui/KisViewManager.cpp
@@ -776,6 +776,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