mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-10 06:21:48 +08:00
Fixed a crash on a changing of the application scale
This commit is contained in:
parent
3fb1e8a35f
commit
c1b58d2c51
@ -2190,10 +2190,9 @@ void TabFilament::clear_pages()
|
|||||||
|
|
||||||
void TabFilament::msw_rescale()
|
void TabFilament::msw_rescale()
|
||||||
{
|
{
|
||||||
for (const auto& over_opt : m_overrides_options) {
|
for (const auto& over_opt : m_overrides_options)
|
||||||
wxWindow* win = over_opt.second;
|
if (wxWindow* win = over_opt.second)
|
||||||
win->SetInitialSize(win->GetBestSize());
|
win->SetInitialSize(win->GetBestSize());
|
||||||
}
|
|
||||||
|
|
||||||
Tab::msw_rescale();
|
Tab::msw_rescale();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user