mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-17 03:37:54 -06:00
Fixed bug with updating of the value of "Wipe while retracting" CheckBox.
This commit is contained in:
parent
419721ce22
commit
d5e136a6d5
10 changed files with 47 additions and 24 deletions
|
@ -1417,8 +1417,8 @@ void TabPrinter::update(){
|
|||
|
||||
DynamicPrintConfig new_conf = *m_config;
|
||||
if (dialog->ShowModal() == wxID_YES) {
|
||||
auto wipe = static_cast<ConfigOptionBools*>(m_config->option("wipe"));
|
||||
wipe->values[i] = 0;
|
||||
auto wipe = static_cast<ConfigOptionBools*>(m_config->option("wipe")->clone());
|
||||
wipe->values[i] = false;
|
||||
new_conf.set_key_value("wipe", wipe);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue