1
0
Fork 0
mirror of https://github.com/kbumsik/VirtScreen.git synced 2025-02-14 20:31:50 +00:00

Fixed: referencing unloaded component

This commit is contained in:
Bumsik Kim 2018-05-13 19:18:27 -04:00
parent 3da2b903ed
commit dc7199e47d
No known key found for this signature in database
GPG key ID: E31041C8EC5B01C6
2 changed files with 1 additions and 4 deletions

View file

@ -188,5 +188,4 @@ Item {
} }
} }
} }
} }

View file

@ -308,9 +308,7 @@ ApplicationWindow {
onClicked: { onClicked: {
busyDialog.open(); busyDialog.open();
virtScreenAction.onTriggered(); virtScreenAction.onTriggered();
} connectOnce(backend.onVirtScreenCreatedChanged, function(created) {
Component.onCompleted: {
backend.onVirtScreenCreatedChanged.connect(function(created) {
busyDialog.close(); busyDialog.close();
}); });
} }