Fixes the background for 2 popups

This commit is contained in:
Sander Ferdinand 2018-05-03 12:29:04 +02:00
parent 3e5f5f3245
commit bff27010f3
2 changed files with 4 additions and 0 deletions

View file

@ -46,6 +46,7 @@ Item {
signal rejected() signal rejected()
function open() { function open() {
inactiveOverlay.visible = true
leftPanel.enabled = false leftPanel.enabled = false
middlePanel.enabled = false middlePanel.enabled = false
titleBar.enabled = false titleBar.enabled = false
@ -56,6 +57,7 @@ Item {
} }
function close() { function close() {
inactiveOverlay.visible = false
leftPanel.enabled = true leftPanel.enabled = true
middlePanel.enabled = true middlePanel.enabled = true
titleBar.enabled = true titleBar.enabled = true

View file

@ -48,6 +48,7 @@ Item {
signal closeCallback() signal closeCallback()
function open() { function open() {
inactiveOverlay.visible = true
leftPanel.enabled = false leftPanel.enabled = false
middlePanel.enabled = false middlePanel.enabled = false
titleBar.enabled = false titleBar.enabled = false
@ -59,6 +60,7 @@ Item {
} }
function close() { function close() {
inactiveOverlay.visible = false
leftPanel.enabled = true leftPanel.enabled = true
middlePanel.enabled = true middlePanel.enabled = true
titleBar.enabled = true titleBar.enabled = true