Fix device connection when loading setups

This commit is contained in:
Jan Käberich 2022-12-16 13:56:28 +01:00
parent 0cc5968b12
commit be340f2adc

View File

@ -1196,7 +1196,7 @@ void AppWindow::LoadSetup(nlohmann::json j)
// reconnect to device
if(!serial.isEmpty()) {
vdevice = new VirtualDevice(serial);
ConnectToDevice(serial);
}
// activate the correct mode