mirror of
https://github.com/kbumsik/VirtScreen.git
synced 2025-02-12 11:21:53 +00:00
Fixed: referencing unloaded component
This commit is contained in:
parent
3da2b903ed
commit
dc7199e47d
2 changed files with 1 additions and 4 deletions
1
main.qml
1
main.qml
|
@ -188,5 +188,4 @@ Item {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -308,9 +308,7 @@ ApplicationWindow {
|
|||
onClicked: {
|
||||
busyDialog.open();
|
||||
virtScreenAction.onTriggered();
|
||||
}
|
||||
Component.onCompleted: {
|
||||
backend.onVirtScreenCreatedChanged.connect(function(created) {
|
||||
connectOnce(backend.onVirtScreenCreatedChanged, function(created) {
|
||||
busyDialog.close();
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue