mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-16 19:35:54 +08:00
ConfigWizard: Fixed loading of the default empty "PRINTER_PLACEHOLDER" image, if path contains diacritical symbols
This commit is contained in:
parent
88e9b91def
commit
8e7e26289d
@ -330,7 +330,7 @@ PrinterPicker::PrinterPicker(wxWindow *parent, const VendorProfile &vendor, wxSt
|
|||||||
% model.thumbnail
|
% model.thumbnail
|
||||||
% vendor.id
|
% vendor.id
|
||||||
% model.id;
|
% model.id;
|
||||||
load_bitmap(Slic3r::var(PRINTER_PLACEHOLDER), bitmap, bitmap_width);
|
load_bitmap(GUI::from_u8(Slic3r::var(PRINTER_PLACEHOLDER)), bitmap, bitmap_width);
|
||||||
}
|
}
|
||||||
|
|
||||||
wxStaticText* title = new wxStaticText(this, wxID_ANY, from_u8(model.name), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT);
|
wxStaticText* title = new wxStaticText(this, wxID_ANY, from_u8(model.name), wxDefaultPosition, wxDefaultSize, wxALIGN_LEFT);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user