mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-11 15:09:02 +08:00
Fix issue SPE-1911
This commit is contained in:
parent
d199081636
commit
f6cbf1892b
@ -1077,7 +1077,7 @@ std::optional<wxString> get_installed_face_name(const std::optional<std::string>
|
||||
// Could exist OS without getter on face_name,
|
||||
// but it is able to restore font from descriptor
|
||||
// Soo default value must be TRUE
|
||||
if (face_name_opt.has_value())
|
||||
if (!face_name_opt.has_value())
|
||||
return wxString();
|
||||
|
||||
wxString face_name(face_name_opt->c_str());
|
||||
|
Loading…
x
Reference in New Issue
Block a user