2
0
forked from Ivasoft/DSView

fix: The scale can't set as max to show all waveform after the mode swith to LOGIC

This commit is contained in:
dreamsourcelabTAI
2023-04-21 11:19:04 +08:00
parent 50b176ed95
commit 80fdaaa90a
3 changed files with 34 additions and 12 deletions

View File

@@ -904,8 +904,8 @@ namespace pv
}
}
if (_device_agent->get_work_mode() == LOGIC && _session->is_realtime_refresh()){
if (_view != NULL)
if (_device_agent->get_work_mode() == LOGIC && _view != NULL){
if (_session->is_realtime_refresh())
_view->auto_set_max_scale();
}