Disable show the error infomation about set demo device's trigger

This commit is contained in:
dreamsourcelabTAI 2023-05-11 16:51:06 +08:00
parent de0aea2364
commit 1075e62db9

View File

@ -240,7 +240,12 @@ void DsoTriggerDock::pos_changed(int pos)
"Change horiz trigger position failed!"));
msg.mBox()->setStandardButtons(QMessageBox::Ok);
msg.mBox()->setIcon(QMessageBox::Warning);
msg.exec();
if (_session->get_device()->is_hardware()){
msg.exec();
}
return;
}
set_trig_pos(pos);
}