2
0
forked from Ivasoft/DSView

fix: The tool bar disabled status for demo device

This commit is contained in:
dreamsourcelabTAI
2023-05-16 15:33:45 +08:00
parent 5cf8064ffd
commit 4836145ae4

View File

@@ -1273,9 +1273,9 @@ namespace pv
bool is_rand = rand_mode == "random";
_action_loop->setVisible(is_rand);
if (!is_rand){
if (!is_rand && mode == LOGIC){
_sample_rate.setEnabled(false);
_sample_count.setEnabled(false);
_sample_count.setEnabled(false);
}
}
}