1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-25 10:15:50 +00:00

ConfigWizard: Fix reset checkbox

This commit is contained in:
Vojtech Kral
2018-04-19 16:49:22 +02:00
parent c3c9ebdd12
commit bdaf1b01be
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -107,7 +107,7 @@ struct PageWelcome: ConfigWizardPage
virtual wxPanel* extra_buttons() { return others_buttons; }
virtual void on_page_set();
bool reset_user_profile() const { return cbox_reset->GetValue(); }
bool reset_user_profile() const { return cbox_reset != nullptr ? cbox_reset->GetValue() : false; }
void on_variant_checked();
};