mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: try to reduce page fault while idling
jira: [none] Change-Id: I563cbf4a8ba8a4ae1e5b1b1f735753d3aef23e16 (cherry picked from commit ed1e9678c351dc037f2e3cc7ea0e19d46731699c)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user