mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
FIX:m_ext_image call msw_rescale should protect
jira: STUDIO-11441 Change-Id: I89dc4bfaca61958773f7dfadf2983ff3f9cb6da1 (cherry picked from commit f42e47b7456fde2ef01ae9c3327f7c0ce9d8f174)
This commit is contained in:
@@ -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()
|
||||||
{
|
{
|
||||||
m_ext_image.msw_rescale();
|
if (m_ext_image.bmp().IsOk()) {
|
||||||
|
m_ext_image.msw_rescale();
|
||||||
|
}
|
||||||
|
|
||||||
Layout();
|
Layout();
|
||||||
Fit();
|
Fit();
|
||||||
|
|||||||
Reference in New Issue
Block a user