forked from Ivasoft/DSView
fix: The tool bar disabled status for demo device
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user