mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Call Config Wizard from the Printer combo box at both the plater
and the parameter tab.
This commit is contained in:
parent
f5516f24c4
commit
ae93569044
6 changed files with 66 additions and 7 deletions
|
@ -29,6 +29,7 @@
|
|||
|
||||
#include "GUI_App.hpp"
|
||||
#include "GUI_ObjectList.hpp"
|
||||
#include "ConfigWizard.hpp"
|
||||
|
||||
namespace Slic3r {
|
||||
namespace GUI {
|
||||
|
@ -252,6 +253,8 @@ void Tab::create_preset_tab()
|
|||
/*selected_string == "------- System presets -------" ||
|
||||
selected_string == "------- User presets -------"*/) {
|
||||
m_presets_choice->SetSelection(m_selected_preset_item);
|
||||
if (selected_string == "------- " + _(L("Add a new printer")) + " -------")
|
||||
wxTheApp->CallAfter([]() { Slic3r::GUI::config_wizard(Slic3r::GUI::ConfigWizard::RR_USER); });
|
||||
return;
|
||||
}
|
||||
m_selected_preset_item = selected_item;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue