mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-20 23:09:18 -07:00
Fixed bug with updating of the value of "Wipe while retracting" CheckBox.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user