FIX: crash in ParamsPanel msw_rescale

Change-Id: I01fc8b9504aa2f6f562ad698e09cc8249d5c2848
Jira: STUDIO-7161
This commit is contained in:
chunmao.guo 2024-05-24 09:57:44 +08:00 committed by Lane.Wei
parent 47c7e9f12f
commit d1e9b5bac2
1 changed files with 1 additions and 1 deletions

View File

@ -640,7 +640,7 @@ void ParamsPanel::msw_rescale()
if (m_search_btn) m_search_btn->msw_rescale();
if (m_compare_btn) m_compare_btn->msw_rescale();
if (m_tips_arrow) m_tips_arrow->msw_rescale();
m_left_sizer->SetMinSize(wxSize(40 * em_unit(this), -1));
if (m_left_sizer) m_left_sizer->SetMinSize(wxSize(40 * em_unit(this), -1));
if (m_mode_sizer)
m_mode_sizer->SetMinSize(-1, 3 * em_unit(this));
if (m_mode_region)