1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-23 10:04:26 +00:00

Fixed bug with updating of the value of "Wipe while retracting" CheckBox.

This commit is contained in:
YuSanka
2018-03-09 17:17:51 +01:00
parent 419721ce22
commit d5e136a6d5
10 changed files with 47 additions and 24 deletions
+1 -3
View File
@@ -171,9 +171,7 @@ public:
dynamic_cast<wxCheckBox*>(window)->SetValue(boost::any_cast<bool>(value));
m_disable_change_event = false;
}
boost::any get_value() override {
return boost::any(dynamic_cast<wxCheckBox*>(window)->GetValue());
}
boost::any get_value() override;
void enable() override { dynamic_cast<wxCheckBox*>(window)->Enable(); }
void disable() override { dynamic_cast<wxCheckBox*>(window)->Disable(); }