mirror of
https://github.com/DreamSourceLab/DSView.git
synced 2025-01-23 13:42:55 +08:00
Disable the measure while device is collecting on loop mode
This commit is contained in:
parent
85c5a18ce7
commit
f2418593f2
@ -1395,6 +1395,9 @@ void Viewport::measure()
|
||||
if (_view.session().is_data_lock())
|
||||
return;
|
||||
|
||||
if (_view.session().is_loop_mode() && _view.session().is_working())
|
||||
return;
|
||||
|
||||
_measure_type = NO_MEASURE;
|
||||
if (_type == TIME_VIEW) {
|
||||
const uint64_t sample_rate = _view.session().cur_snap_samplerate();
|
||||
|
Loading…
x
Reference in New Issue
Block a user