mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-12 21:31:48 +08:00
Fix of modified font in style
This commit is contained in:
parent
3f269e0719
commit
2fdcdad796
@ -2686,9 +2686,9 @@ bool GLGizmoEmboss::load_configuration(ModelVolume *volume)
|
|||||||
m_style_manager.load_font(tc_fi, *wx_font_opt);
|
m_style_manager.load_font(tc_fi, *wx_font_opt);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// stored style is loaded, add volume changes
|
// stored style is loaded, now set modification of style
|
||||||
m_style_manager.get_font_item() = tc_fi;
|
m_style_manager.get_font_item() = tc_fi;
|
||||||
m_style_manager.get_wx_font() = wx_font_opt;
|
m_style_manager.set_wx_font(*wx_font_opt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user