mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Implemented some upgrades for filament overrides
This commit is contained in:
parent
b8a549259c
commit
7b5c8b7e16
4 changed files with 66 additions and 66 deletions
|
@ -290,14 +290,7 @@ public:
|
|||
dynamic_cast<wxTextCtrl*>(window)->SetValue(wxString(value));
|
||||
m_disable_change_event = false;
|
||||
}
|
||||
virtual void set_value(const boost::any& value, bool change_event = false) {
|
||||
m_disable_change_event = !change_event;
|
||||
dynamic_cast<wxTextCtrl*>(window)->SetValue(boost::any_cast<wxString>(value));
|
||||
if (boost::any_cast<wxString>(value) != "nan")
|
||||
m_last_meaningful_value = value;
|
||||
m_disable_change_event = false;
|
||||
}
|
||||
|
||||
virtual void set_value(const boost::any& value, bool change_event = false) override;
|
||||
virtual void set_last_meaningful_value() override;
|
||||
virtual void set_na_value() override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue