diff options
author | David Kocik <kocikdav@gmail.com> | 2020-02-17 17:54:19 +0300 |
---|---|---|
committer | David Kocik <kocikdav@gmail.com> | 2020-02-17 17:57:16 +0300 |
commit | e571181c547b29cc58e3293c6eb6d9fa4eff6f4e (patch) | |
tree | a61e8c9c9f44ba33692a151ba6a770390d079bb9 /src/slic3r/GUI/ConfigWizard_private.hpp | |
parent | 9b73ecdf029f156ba582f822e26f8479f1a7eecd (diff) |
config wizard: enable finish button if only custom printer is selected
Diffstat (limited to 'src/slic3r/GUI/ConfigWizard_private.hpp')
-rw-r--r-- | src/slic3r/GUI/ConfigWizard_private.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/slic3r/GUI/ConfigWizard_private.hpp b/src/slic3r/GUI/ConfigWizard_private.hpp index e056b0b9e..1d4b64221 100644 --- a/src/slic3r/GUI/ConfigWizard_private.hpp +++ b/src/slic3r/GUI/ConfigWizard_private.hpp @@ -447,6 +447,7 @@ struct ConfigWizard::priv std::unique_ptr<DynamicPrintConfig> custom_config; // Backing for custom printer definition bool any_fff_selected; // Used to decide whether to display Filaments page bool any_sla_selected; // Used to decide whether to display SLA Materials page + bool custom_printer_selected; wxScrolledWindow *hscroll = nullptr; wxBoxSizer *hscroll_sizer = nullptr; @@ -497,7 +498,7 @@ struct ConfigWizard::priv void set_run_reason(RunReason run_reason); void update_materials(Technology technology); - void on_custom_setup(); + void on_custom_setup(const bool custom_wanted); void on_printer_pick(PagePrinters *page, const PrinterPickerEvent &evt); void select_default_materials_for_printer_model(const std::vector<VendorProfile::PrinterModel> &models, Technology technology, |