Disable timeline scrolling when a popup is open

This commit is contained in:
miruka 2020-07-27 00:16:04 -04:00
parent 6d8980bcb3
commit fcf6b45bf6
2 changed files with 1 additions and 1 deletions

View File

@ -475,6 +475,7 @@ Rectangle {
} }
anchors.fill: parent anchors.fill: parent
enabled: ! window.anyPopup
clip: true clip: true
keyNavigationWraps: false keyNavigationWraps: false
leftMargin: theme.spacing leftMargin: theme.spacing

View File

@ -10,7 +10,6 @@ import "MainPane"
Item { Item {
id: mainUI id: mainUI
enabled: ! window.anyPopup
property bool accountsPresent: property bool accountsPresent:
ModelStore.get("accounts").count > 0 || py.startupAnyAccountsSaved ModelStore.get("accounts").count > 0 || py.startupAnyAccountsSaved