FIX:Turn on the Release switch of HMS

Change-Id: I67fe615aec0e18cc8fd0a1e6992b6dc38a03fc88
This commit is contained in:
tao wang 2022-08-30 12:24:32 +08:00 committed by Lane.Wei
parent db435bc704
commit a8d91531b3
2 changed files with 15 additions and 15 deletions

View file

@ -83,9 +83,8 @@ HMSNotifyItem::HMSNotifyItem(wxWindow *parent, HMSItem& item)
}
});
m_hms_content->Bind(wxEVT_LEFT_UP, [this](wxMouseEvent &e) {
if(!m_url.empty())
wxLaunchDefaultBrowser(get_hms_wiki_url(m_hms_item.get_long_error_code()));
});
if (!m_url.empty()) wxLaunchDefaultBrowser(m_url);
});
}
HMSNotifyItem ::~HMSNotifyItem() {
;