[vlc-commits] qml: focus playlist when an item is dropped into it
Fatih Uzunoglu
git at videolan.org
Tue Jan 12 13:21:06 UTC 2021
vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Fri Jan 8 00:37:07 2021 +0300| [ea25ee742b37468222a6bcab24f80fe565f57a1d] | committer: Pierre Lamot
qml: focus playlist when an item is dropped into it
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ea25ee742b37468222a6bcab24f80fe565f57a1d
---
modules/gui/qt/playlist/qml/PlaylistListView.qml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/gui/qt/playlist/qml/PlaylistListView.qml b/modules/gui/qt/playlist/qml/PlaylistListView.qml
index abe02aa99a..056b33d492 100644
--- a/modules/gui/qt/playlist/qml/PlaylistListView.qml
+++ b/modules/gui/qt/playlist/qml/PlaylistListView.qml
@@ -72,6 +72,8 @@ Widgets.NavigableFocusScope {
// This is required otherwise backend may handle the drop as well yielding double addition
drop.accept(Qt.IgnoreAction)
}
+
+ listView.forceActiveFocus()
}
PlaylistOverlayMenu {
More information about the vlc-commits
mailing list