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:
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: {
|
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();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue