Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Kral <vojtech@kral.hk>2018-04-19 17:49:22 +0300
committerVojtech Kral <vojtech@kral.hk>2018-04-19 17:49:22 +0300
commitbdaf1b01bedea5cac8b0d3d15dd48f87f531651c (patch)
tree57b2cf3411db050ff2be7c47b7e8a551f219910a /xs/src/slic3r/GUI/ConfigWizard.cpp
parentc3c9ebdd12616aaa79ea0e6d2a06d3db06d36f31 (diff)
ConfigWizard: Fix reset checkbox
Diffstat (limited to 'xs/src/slic3r/GUI/ConfigWizard.cpp')
-rw-r--r--xs/src/slic3r/GUI/ConfigWizard.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/xs/src/slic3r/GUI/ConfigWizard.cpp b/xs/src/slic3r/GUI/ConfigWizard.cpp
index 0eee234db..a1ee5a748 100644
--- a/xs/src/slic3r/GUI/ConfigWizard.cpp
+++ b/xs/src/slic3r/GUI/ConfigWizard.cpp
@@ -205,7 +205,7 @@ PageWelcome::PageWelcome(ConfigWizard *parent) :
ConfigWizardPage(parent, wxString::Format(_(L("Welcome to the Slic3r %s")), ConfigWizard::name()), _(L("Welcome"))),
printer_picker(nullptr),
others_buttons(new wxPanel(parent)),
- cbox_reset(new wxCheckBox(this, wxID_ANY, _(L("Remove user profiles - install from scratch (a snapshot will be taken beforehand)"))))
+ cbox_reset(nullptr)
{
if (wizard_p()->flag_startup && wizard_p()->flag_empty_datadir) {
wxString::Format(_(L("Run %s")), ConfigWizard::name());
@@ -214,6 +214,7 @@ PageWelcome::PageWelcome(ConfigWizard *parent) :
ConfigWizard::name())
);
} else {
+ cbox_reset = new wxCheckBox(this, wxID_ANY, _(L("Remove user profiles - install from scratch (a snapshot will be taken beforehand)")));
append(cbox_reset);
}