mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-17 03:37:54 -06:00
Next try to fix bug with CheckBox selection if cursor is in SpinCtrl.
This commit is contained in:
parent
2eee3a64b7
commit
28b6d222f2
2 changed files with 4 additions and 3 deletions
|
@ -203,7 +203,8 @@ public:
|
|||
}
|
||||
void set_value(boost::any value, bool change_event = false) {
|
||||
m_disable_change_event = !change_event;
|
||||
dynamic_cast<wxSpinCtrl*>(window)->SetValue(boost::any_cast<int>(value));
|
||||
tmp_value = boost::any_cast<int>(value);
|
||||
dynamic_cast<wxSpinCtrl*>(window)->SetValue(tmp_value/*boost::any_cast<int>(value)*/);
|
||||
m_disable_change_event = false;
|
||||
}
|
||||
boost::any get_value() override {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue