[vlc-commits] qml: satisfy proper focusing during playlist animation

Fatih Uzunoglu git at videolan.org
Mon Aug 10 12:10:07 CEST 2020


vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Thu Jul 30 00:04:33 2020 +0300| [1dc79bd09fabfa70ef1eec494598e08ff1501f51] | committer: Pierre Lamot

qml: satisfy proper focusing during playlist animation

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1dc79bd09fabfa70ef1eec494598e08ff1501f51
---

 modules/gui/qt/medialibrary/qml/MainDisplay.qml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/qt/medialibrary/qml/MainDisplay.qml b/modules/gui/qt/medialibrary/qml/MainDisplay.qml
index 781c5f4f3c..812014122d 100644
--- a/modules/gui/qt/medialibrary/qml/MainDisplay.qml
+++ b/modules/gui/qt/medialibrary/qml/MainDisplay.qml
@@ -234,9 +234,11 @@ Widgets.NavigableFocusScope {
                         onExpandedChanged: {
                             if (expanded) {
                                 animateExpand.start()
+                                playlistColumn.forceActiveFocus()
                             }
                             else {
                                 animateRetract.start()
+                                stackView.forceActiveFocus()
                             }
                         }
 



More information about the vlc-commits mailing list