mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-28 23:03:13 +08:00
FIX:m_ext_image call msw_rescale should protect
jira: STUDIO-11441 Change-Id: I89dc4bfaca61958773f7dfadf2983ff3f9cb6da1
This commit is contained in:
parent
e3d4563720
commit
f42e47b745
@ -605,7 +605,9 @@ const wxBitmap &AMSExtImage::get_bmp(const std::string &printer_type, bool is_am
|
|||||||
|
|
||||||
void AMSExtImage::msw_rescale()
|
void AMSExtImage::msw_rescale()
|
||||||
{
|
{
|
||||||
|
if (m_ext_image.bmp().IsOk()) {
|
||||||
m_ext_image.msw_rescale();
|
m_ext_image.msw_rescale();
|
||||||
|
}
|
||||||
|
|
||||||
Layout();
|
Layout();
|
||||||
Fit();
|
Fit();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user