[vlc-commits] [Git][videolan/vlc][master] qml: disable activeFocusOnTab for context buttons

Rémi Denis-Courmont (@Courmisch) gitlab at videolan.org
Sun Dec 25 10:06:41 UTC 2022



Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC


Commits:
7193add2 by Fatih Uzunoglu at 2022-12-25T09:49:57+00:00
qml: disable activeFocusOnTab for context buttons

- - - - -


2 changed files:

- modules/gui/qt/widgets/qml/ListItem.qml
- modules/gui/qt/widgets/qml/TableViewDelegate.qml


Changes:

=====================================
modules/gui/qt/widgets/qml/ListItem.qml
=====================================
@@ -223,6 +223,8 @@ FocusScope {
                                 font.underline: activeFocus
 
                                 onClicked: root.contextMenuButtonClicked(this)
+
+                                activeFocusOnTab: false
                             }
                         }
                     }


=====================================
modules/gui/qt/widgets/qml/TableViewDelegate.qml
=====================================
@@ -227,6 +227,8 @@ T.Control {
                     var pos = contextButton.mapToGlobal(VLCStyle.margin_xsmall, contextButton.height / 2 + VLCStyle.fontHeight_normal)
                     delegate.contextMenuButtonClicked(this, delegate.rowModel, pos)
                 }
+
+                activeFocusOnTab: false
             }
         }
     }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7193add2531bd81dce74911eb1a397aa75b03a0c

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7193add2531bd81dce74911eb1a397aa75b03a0c
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list