FIX: hide the internal HMS message

jira: [STUDIO-10363]
Change-Id: I0b68d8ddde4b1b1277fd828e17f568fcdc81adb6
(cherry picked from commit b10ab774477c2fb3dc9ef4b81005b3daa3f618f4)
This commit is contained in:
xin.zhang
2025-02-19 10:04:26 +08:00
committed by Noisyfox
parent 820f12a16b
commit 2084b59cce
3 changed files with 12 additions and 6 deletions

View File

@@ -425,6 +425,12 @@ void MonitorPanel::update_all()
void MonitorPanel::update_hms_tag()
{
for (auto hmsitem : m_hms_panel->temp_hms_list) {
if (!obj) { break;}
const wxString &msg = wxGetApp().get_hms_query()->query_hms_msg(obj->dev_id, hmsitem.second.get_long_error_code());
if (msg.empty()){ continue;} /*STUDIO-10363 it's hidden message*/
if (!hmsitem.second.already_read) {
//show HMS new tag
m_tabpanel->GetBtnsListCtrl()->showNewTag(3, true);