2
0
forked from Ivasoft/DSView

A hardware device is working, do not remind to switch new device

This commit is contained in:
dreamsourcelabTAI
2024-04-08 15:42:49 +08:00
parent 143773f0ba
commit 7837f79ee5

View File

@@ -1950,6 +1950,11 @@ namespace pv
_sampling_bar->update_device_list();
//If the current device is working, do not remind to switch new device.
if (_session->get_device()->is_hardware() && _session->is_working()){
return;
}
// If a saving task is running, not need to remind to switch device,
// when the task end, the new device will be selected.
if (_session->get_device()->is_demo() == false && !_is_save_confirm_msg)