Don't allow disconnecting when we're connected by command line
parent
a9ca7f28cc
commit
c358c448b6
|
|
@ -61,6 +61,8 @@ Drawer {
|
|||
ProgressButton {
|
||||
longpressEnabled: false
|
||||
imageSource: "../images/close.svg"
|
||||
// When we're connected via command line arg, don't allow disconnecting
|
||||
visible: autoConnectHost.length === 0
|
||||
onClicked: {
|
||||
root.currentEngine.jsonRpcClient.disconnectFromHost();
|
||||
root.close();
|
||||
|
|
|
|||
Loading…
Reference in New Issue