FIX: try to reduce page fault while idling

jira: [none]
Change-Id: I563cbf4a8ba8a4ae1e5b1b1f735753d3aef23e16
(cherry picked from commit ed1e9678c351dc037f2e3cc7ea0e19d46731699c)
This commit is contained in:
xin.zhang
2025-02-08 14:47:28 +08:00
committed by Noisyfox
parent ad740bde86
commit 319e93ba4d
7 changed files with 36 additions and 20 deletions

View File

@@ -115,6 +115,11 @@ void TabButtonsListCtrl::SetSelection(int sel)
void TabButtonsListCtrl::showNewTag(int sel, bool tag)
{
if (m_pageButtons[sel]->GetShowNewTag() == tag)
{
return;
}
m_pageButtons[sel]->ShowNewTag(tag);
Refresh();
}