mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -06:00
Got rid of wipe_tower_advanced option
This commit is contained in:
parent
e864238609
commit
b556cec42d
8 changed files with 40 additions and 37 deletions
|
@ -467,13 +467,12 @@ void TabPrint::build()
|
|||
sizer->Add(m_wipe_tower_btn);
|
||||
m_wipe_tower_btn->Bind(wxEVT_BUTTON, ([this](wxCommandEvent& e)
|
||||
{
|
||||
std::string init_data = (m_config->option<ConfigOptionString>("wipe_tower_advanced"))->value;
|
||||
std::cout << "dialog init: " << init_data << std::endl;
|
||||
WipingDialog dlg(this,init_data); // dlg lives on stack, no need to call Destroy
|
||||
//auto init_data = (m_config->option<ConfigOptionFloats>("wiping_volumes_matrix"))->values;
|
||||
//WipingDialog dlg(this,std::vector<float>(init_data.begin(), init_data.end())); // dlg lives on stack, no need to call Destroy
|
||||
|
||||
if (dlg.ShowModal() == wxID_OK) {
|
||||
load_key_value("wipe_tower_advanced", dlg.GetValue());
|
||||
std::cout << std::endl << "dialog returned: " << dlg.GetValue() << std::endl;
|
||||
//load_key_value("wipe_tower_advanced", dlg.GetValue());
|
||||
//std::cout << std::endl << "dialog returned: " << dlg.GetValue() << std::endl;
|
||||
}
|
||||
}));
|
||||
return sizer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue