FIX:confirm data validity before loading AMS
jira:[STUDIO-9577] Change-Id: Id0e9d3eef5527f45f25c5b9e8c8fc6e1d109fe29
This commit is contained in:
parent
9b1717fa56
commit
0ef08bc628
|
@ -468,7 +468,7 @@ bool MonitorPanel::Show(bool show)
|
|||
if (obj == nullptr) {
|
||||
dev->load_last_machine();
|
||||
obj = dev->get_selected_machine();
|
||||
if (obj)
|
||||
if (obj && obj->is_info_ready(false))
|
||||
GUI::wxGetApp().sidebar().load_ams_list(obj->dev_id, obj);
|
||||
} else {
|
||||
obj->reset_update_time();
|
||||
|
|
Loading…
Reference in New Issue