mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
FIX: add protection for rescale_camera_icons
Jira: [STUDIO-14633] Change-Id: Ic88bc5ec6f49e644304f8db374a930d663825819 (cherry picked from commit 8bd642de670fa709dcd3ec0e852599e596da4cb4)
This commit is contained in:
@@ -5086,6 +5086,9 @@ void StatusPanel::set_hold_count(int& count)
|
|||||||
|
|
||||||
void StatusPanel::rescale_camera_icons()
|
void StatusPanel::rescale_camera_icons()
|
||||||
{
|
{
|
||||||
|
if (!GetParent() || IsBeingDeleted()) return;
|
||||||
|
if (!m_setting_button || !m_media_play_ctrl || !m_bitmap_vcamera_img || !m_bitmap_sdcard_img || !m_bitmap_recording_img || !m_bitmap_timelapse_img) return;
|
||||||
|
|
||||||
m_setting_button->msw_rescale();
|
m_setting_button->msw_rescale();
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user