Fix device connection when loading setups
This commit is contained in:
parent
0cc5968b12
commit
be340f2adc
@ -1196,7 +1196,7 @@ void AppWindow::LoadSetup(nlohmann::json j)
|
|||||||
|
|
||||||
// reconnect to device
|
// reconnect to device
|
||||||
if(!serial.isEmpty()) {
|
if(!serial.isEmpty()) {
|
||||||
vdevice = new VirtualDevice(serial);
|
ConnectToDevice(serial);
|
||||||
}
|
}
|
||||||
|
|
||||||
// activate the correct mode
|
// activate the correct mode
|
||||||
|
Loading…
Reference in New Issue
Block a user