qml: fix dialog not closing if dialog is shown/hidden more than once
most dialogs are destroyed when closed, therefore not hitting this bug, but e.g. ChannelOpenProgressDialog is reused.
This commit is contained in:
@@ -49,6 +49,7 @@ Dialog {
|
|||||||
if (opened) {
|
if (opened) {
|
||||||
app.activeDialogs.push(abstractdialog)
|
app.activeDialogs.push(abstractdialog)
|
||||||
_wasOpened = true
|
_wasOpened = true
|
||||||
|
_result = false
|
||||||
} else {
|
} else {
|
||||||
if (!_wasOpened)
|
if (!_wasOpened)
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user