mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 11:02:08 +00:00
Escape from try/catch in Tab and OptionsGroup
* Deleted macro _LU8 from GUI.hpp. It's used only in Option class now. * Added macro _LS to mark string used at localization (It returns same string)
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
|
||||
namespace Slic3r { namespace GUI {
|
||||
|
||||
//! macro used to localization, return const CharType *
|
||||
#define _LU8(s) wxGetTranslation(s).ToUTF8().data()
|
||||
|
||||
const t_field& OptionsGroup::build_field(const Option& opt) {
|
||||
return build_field(opt.opt_id, opt.opt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user