[graphics/krita] libs/ui: Disable autoRepeat on view_show_canvas_only action

Halla Rempt <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit c70d3ac739776c7b1f65bb429763250613d04e1b by Halla Rempt, on behalf of Timothée Giet.
Committed on 24/07/2026 at 19:24.
Pushed by rempt into branch 'master'.

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/c70d3ac739776c7b1f65bb429763250613d04e1b

diff --git a/libs/ui/KisViewManager.cpp b/libs/ui/KisViewManager.cpp
index 05cd857eeee..9020241f975 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.