Fix of #696 in cpp's Tabs,

using changes from commit 36bbd6a
This commit is contained in:
YuSanka 2018-02-05 11:03:13 +01:00
parent d9521fe733
commit 2d3c2dc595
2 changed files with 8 additions and 7 deletions

View file

@ -18,8 +18,8 @@
bool is_compatible_with_printer(Preset *active_printer)
%code%{ RETVAL = THIS->is_compatible_with_printer(*active_printer); %};
const char* name() %code%{ RETVAL = THIS->name.c_str(); %};
const char* file() %code%{ RETVAL = THIS->file.c_str(); %};
std::string name() %code%{ RETVAL = THIS->name; %};
std::string file() %code%{ RETVAL = THIS->file; %};
bool loaded() %code%{ RETVAL = THIS->loaded; %};