mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 08:17:51 -06:00
Fixed scaling on MSW for new OptionsGroup
This commit is contained in:
parent
398ff9053d
commit
35d225d673
8 changed files with 59 additions and 18 deletions
|
@ -345,8 +345,9 @@ void MainFrame::update_layout()
|
|||
fromDlg,
|
||||
toDlg
|
||||
};
|
||||
State update_scaling_state = m_layout == ESettingsLayout::Dlg ? State::fromDlg :
|
||||
layout == ESettingsLayout::Dlg ? State::toDlg : State::noUpdate;
|
||||
State update_scaling_state = m_layout == ESettingsLayout::Unknown ? State::noUpdate : // don't scale settings dialog from the application start
|
||||
m_layout == ESettingsLayout::Dlg ? State::fromDlg :
|
||||
layout == ESettingsLayout::Dlg ? State::toDlg : State::noUpdate;
|
||||
#endif //__WXMSW__
|
||||
|
||||
m_layout = layout;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue