From 6d117917aa249ad1ffe46e78e03dd21909fb8693 Mon Sep 17 00:00:00 2001 From: RadRussianRus Date: Thu, 31 May 2018 03:50:52 +0300 Subject: [PATCH] Fixed users page scrolling and password field text selection --- slice/Main.qml | 3 ++- slice/PageUsers.qml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/slice/Main.qml b/slice/Main.qml index 7ff64e4..ca44018 100644 --- a/slice/Main.qml +++ b/slice/Main.qml @@ -297,6 +297,7 @@ Rectangle id: scrollMouseArea anchors.fill: parent propagateComposedEvents: true + enabled: root.state != "stateUsers" || !pageUsers.hasLoginShown onWheel: { switch (root.state) @@ -316,7 +317,7 @@ Rectangle break case "stateUsers": - if (!pagePower.hasLoginShown) + if (!pageUsers.hasLoginShown) { if (wheel.pixelDelta.y < 0) pageUsers.scroll_up() diff --git a/slice/PageUsers.qml b/slice/PageUsers.qml index 88c5482..ecbabd3 100644 --- a/slice/PageUsers.qml +++ b/slice/PageUsers.qml @@ -226,6 +226,7 @@ Item echoMode: TextInput.Password clip: true + selectByMouse: true font {