From f6447ad188fa77cefd3b948c5e274e5a70d58d6f Mon Sep 17 00:00:00 2001 From: Ismael Asensio Date: Mon, 12 Feb 2024 20:58:12 +0100 Subject: [PATCH] tabbox/thumbnail-grid: Activate on thumbnail click when selected While tabbox switching is usually a keyboard operation, we offer also a mouse-friendly way to launch it via screen edges, and should allow to switch directly on mouse click. BUG: 481267 FIXED-IN: 6.0 --- src/tabbox/switchers/thumbnail_grid/contents/ui/main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tabbox/switchers/thumbnail_grid/contents/ui/main.qml b/src/tabbox/switchers/thumbnail_grid/contents/ui/main.qml index 30b0863f1d..a1a7132449 100644 --- a/src/tabbox/switchers/thumbnail_grid/contents/ui/main.qml +++ b/src/tabbox/switchers/thumbnail_grid/contents/ui/main.qml @@ -123,7 +123,7 @@ KWin.TabBoxSwitcher { Accessible.role: Accessible.ListItem onClicked: { - tabBox.currentIndex = index; + tabBox.model.activate(index); } ColumnLayout {