mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-31 20:22:03 +08:00
Follow-up 26d52595 : Fixed a crash on move the GCodeViewer on other monitor
This commit is contained in:
parent
0b7616c121
commit
d0e70e035a
@ -1053,7 +1053,7 @@ void MainFrame::on_dpi_changed(const wxRect& suggested_rect)
|
||||
this->SetFont(this->normal_font());
|
||||
|
||||
#ifdef _WIN32
|
||||
if (m_tmp_top_bar->IsShown())
|
||||
if (m_tmp_top_bar && m_tmp_top_bar->IsShown())
|
||||
m_tmp_top_bar->Rescale();
|
||||
m_tabpanel->Rescale();
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user