1
0
Fork 0
mirror of https://github.com/kbumsik/VirtScreen.git synced 2025-02-12 11:21:53 +00:00

Fixed: 'StopVNC() called' prompt when clicking Display Setting button

This commit is contained in:
Bumsik Kim 2018-05-23 19:46:20 -04:00
parent 90894d3c41
commit ca5af0235a
No known key found for this signature in database
GPG key ID: E31041C8EC5B01C6

View file

@ -110,6 +110,7 @@ ColumnLayout {
window.autoClose = false;
if (backend.vncState != Backend.OFF) {
console.log("vnc is running");
backend.stopVNC();
var restoreVNC = true;
if (autostart) {
autostart = false;
@ -126,7 +127,6 @@ ColumnLayout {
backend.startVNC(settings.vnc.port);
}
});
backend.stopVNC();
backend.openDisplaySetting();
}
}