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()
|
||||||
{
|
{
|
||||||
m_ext_image.msw_rescale();
|
if (m_ext_image.bmp().IsOk()) {
|
||||||
|
m_ext_image.msw_rescale();
|
||||||
|
}
|
||||||
|
|
||||||
Layout();
|
Layout();
|
||||||
Fit();
|
Fit();
|
||||||
|
|
Loading…
Reference in New Issue