Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer
This commit is contained in:
commit
653efca5b4
1 changed files with 2 additions and 2 deletions
|
@ -233,14 +233,14 @@ private:
|
||||||
{
|
{
|
||||||
this->Freeze();
|
this->Freeze();
|
||||||
|
|
||||||
#if ENABLE_LAYOUT_NO_RESTART
|
#if ENABLE_LAYOUT_NO_RESTART && wxVERSION_EQUAL_OR_GREATER_THAN(3,1,3)
|
||||||
if (m_force_rescale) {
|
if (m_force_rescale) {
|
||||||
#endif // ENABLE_LAYOUT_NO_RESTART
|
#endif // ENABLE_LAYOUT_NO_RESTART
|
||||||
// rescale fonts of all controls
|
// rescale fonts of all controls
|
||||||
scale_controls_fonts(this, m_new_font_point_size);
|
scale_controls_fonts(this, m_new_font_point_size);
|
||||||
// rescale current window font
|
// rescale current window font
|
||||||
scale_win_font(this, m_new_font_point_size);
|
scale_win_font(this, m_new_font_point_size);
|
||||||
#if ENABLE_LAYOUT_NO_RESTART
|
#if ENABLE_LAYOUT_NO_RESTART && wxVERSION_EQUAL_OR_GREATER_THAN(3,1,3)
|
||||||
m_force_rescale = false;
|
m_force_rescale = false;
|
||||||
}
|
}
|
||||||
#endif // ENABLE_LAYOUT_NO_RESTART
|
#endif // ENABLE_LAYOUT_NO_RESTART
|
||||||
|
|
Loading…
Add table
Reference in a new issue