mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-15 17:09:43 -07:00
FIX: the tab change display
jira: [STUDIO-9748] Change-Id: I3178a43ec9de091790b1df760c0b029c0f03229e (cherry picked from commit 96c2cff2828c4f541f8aa5f59efabcbf0c0df9ef)
This commit is contained in:
parent
2084b59cce
commit
875d461120
2 changed files with 8 additions and 2 deletions
|
|
@ -4993,8 +4993,11 @@ void SendModeSwitchButton::on_left_down(wxMouseEvent &evt)
|
|||
|
||||
void SendModeSwitchButton::setSelected(bool selected)
|
||||
{
|
||||
is_selected = selected;
|
||||
Refresh();
|
||||
if (is_selected != selected)
|
||||
{
|
||||
is_selected = selected;
|
||||
Refresh();
|
||||
}
|
||||
}
|
||||
|
||||
}} // namespace Slic3r::GUI
|
||||
|
|
|
|||
|
|
@ -680,6 +680,8 @@ void FanControlPopupNew::CreateDuct()
|
|||
|
||||
void FanControlPopupNew::UpdateParts(int mode_id)
|
||||
{
|
||||
Freeze();
|
||||
|
||||
m_sizer_fanControl->Clear(true);
|
||||
for (const auto& part : m_data.parts) {
|
||||
|
||||
|
|
@ -698,6 +700,7 @@ void FanControlPopupNew::UpdateParts(int mode_id)
|
|||
}
|
||||
|
||||
m_sizer_fanControl->Layout();
|
||||
Thaw();
|
||||
}
|
||||
|
||||
void FanControlPopupNew::UpdateTips(int model)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue