mirror of
https://github.com/kbumsik/VirtScreen.git
synced 2025-03-09 15:40:18 +00:00
Fixed: 'StopVNC() called' prompt when clicking Display Setting button
This commit is contained in:
parent
90894d3c41
commit
ca5af0235a
1 changed files with 1 additions and 1 deletions
|
@ -110,6 +110,7 @@ ColumnLayout {
|
||||||
window.autoClose = false;
|
window.autoClose = false;
|
||||||
if (backend.vncState != Backend.OFF) {
|
if (backend.vncState != Backend.OFF) {
|
||||||
console.log("vnc is running");
|
console.log("vnc is running");
|
||||||
|
backend.stopVNC();
|
||||||
var restoreVNC = true;
|
var restoreVNC = true;
|
||||||
if (autostart) {
|
if (autostart) {
|
||||||
autostart = false;
|
autostart = false;
|
||||||
|
@ -126,7 +127,6 @@ ColumnLayout {
|
||||||
backend.startVNC(settings.vnc.port);
|
backend.startVNC(settings.vnc.port);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
backend.stopVNC();
|
|
||||||
backend.openDisplaySetting();
|
backend.openDisplaySetting();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue