mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-30 16:42:43 +00:00
Looks like the reworked C++ preferences start to work again.
This commit is contained in:
@@ -13,8 +13,22 @@
|
||||
void reset();
|
||||
void set_defaults();
|
||||
|
||||
void load();
|
||||
void save();
|
||||
void load()
|
||||
%code%{
|
||||
try {
|
||||
THIS->load();
|
||||
} catch (std::exception& e) {
|
||||
croak("Loading an application config file failed:\n%s\n", e.what());
|
||||
}
|
||||
%};
|
||||
void save()
|
||||
%code%{
|
||||
try {
|
||||
THIS->save();
|
||||
} catch (std::exception& e) {
|
||||
croak("Saving an application config file failed:\n%s\n", e.what());
|
||||
}
|
||||
%};
|
||||
bool exists();
|
||||
bool dirty();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user