[vlc-commits] qml: enable text interactions in URL text box

Prince Gupta git at videolan.org
Tue Apr 6 13:12:04 UTC 2021


vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Mon Mar 29 23:35:30 2021 +0530| [d3f4c657b9408cbc24afe88af9f4744480fb1e07] | committer: Pierre Lamot

qml: enable text interactions in URL text box

fixes #25580

Signed-off-by: Pierre Lamot <pierre at videolabs.io>

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

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

diff --git a/modules/gui/qt/network/qml/DiscoverUrlDisplay.qml b/modules/gui/qt/network/qml/DiscoverUrlDisplay.qml
index 839801dc6e..1fdbd6a882 100644
--- a/modules/gui/qt/network/qml/DiscoverUrlDisplay.qml
+++ b/modules/gui/qt/network/qml/DiscoverUrlDisplay.qml
@@ -56,6 +56,8 @@ Widgets.NavigableFocusScope {
                 palette.highlight: VLCStyle.colors.bgHover
                 palette.highlightedText: VLCStyle.colors.bgHoverText
                 font.pixelSize: VLCStyle.fontSize_large
+                selectByMouse: true
+
                 background: Rectangle {
                     color: VLCStyle.colors.bg
                     border.width: VLCStyle.dp(2, VLCStyle.scale)



More information about the vlc-commits mailing list