vlc | branch: master | Pierre Lamot <[email protected]> | Thu Jun 13 18:44:12 2019 +0200| [009bc3a9b88cf87f7ecb60e0792c2507c80b0c7e] | committer: Jean-Baptiste Kempf
qml: set the default focus to the icon button the within the search box otherwise no item has the focus and the widget can't be accessed using keyboard Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=009bc3a9b88cf87f7ecb60e0792c2507c80b0c7e --- modules/gui/qt/qml/utils/SearchBox.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/gui/qt/qml/utils/SearchBox.qml b/modules/gui/qt/qml/utils/SearchBox.qml index 0871cc9bf6..9a14637208 100644 --- a/modules/gui/qt/qml/utils/SearchBox.qml +++ b/modules/gui/qt/qml/utils/SearchBox.qml @@ -99,6 +99,8 @@ Utils.NavigableFocusScope { size: VLCStyle.icon_normal text: VLCIcons.topbar_filter + focus: true + onClicked: { if (searchBox.text == "") expanded = !expanded _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
