Fixed users page scrolling and password field text selection
This commit is contained in:
parent
af82a81ae7
commit
6d117917aa
2 changed files with 3 additions and 1 deletions
|
|
@ -297,6 +297,7 @@ Rectangle
|
||||||
id: scrollMouseArea
|
id: scrollMouseArea
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
propagateComposedEvents: true
|
propagateComposedEvents: true
|
||||||
|
enabled: root.state != "stateUsers" || !pageUsers.hasLoginShown
|
||||||
onWheel:
|
onWheel:
|
||||||
{
|
{
|
||||||
switch (root.state)
|
switch (root.state)
|
||||||
|
|
@ -316,7 +317,7 @@ Rectangle
|
||||||
break
|
break
|
||||||
|
|
||||||
case "stateUsers":
|
case "stateUsers":
|
||||||
if (!pagePower.hasLoginShown)
|
if (!pageUsers.hasLoginShown)
|
||||||
{
|
{
|
||||||
if (wheel.pixelDelta.y < 0)
|
if (wheel.pixelDelta.y < 0)
|
||||||
pageUsers.scroll_up()
|
pageUsers.scroll_up()
|
||||||
|
|
|
||||||
|
|
@ -226,6 +226,7 @@ Item
|
||||||
|
|
||||||
echoMode: TextInput.Password
|
echoMode: TextInput.Password
|
||||||
clip: true
|
clip: true
|
||||||
|
selectByMouse: true
|
||||||
|
|
||||||
font
|
font
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue