Fixed users page scrolling and password field text selection

This commit is contained in:
Eric Kotato 2018-05-31 03:50:52 +03:00
parent af82a81ae7
commit 6d117917aa
2 changed files with 3 additions and 1 deletions

View file

@ -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()

View file

@ -226,6 +226,7 @@ Item
echoMode: TextInput.Password
clip: true
selectByMouse: true
font
{