mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fix of the change of the perimeters count in a vase-mode (part fix of #1649)
This commit is contained in:
parent
19a6461608
commit
66f998bdbf
4 changed files with 13 additions and 2 deletions
|
@ -436,7 +436,7 @@ void SpinCtrl::BUILD() {
|
|||
propagate_value();
|
||||
}), temp->GetId());
|
||||
|
||||
temp->Bind(wxEVT_SPINCTRL, ([this](wxCommandEvent e) { on_change_field(); }), temp->GetId());
|
||||
temp->Bind(wxEVT_SPINCTRL, ([this](wxCommandEvent e) { propagate_value(); }), temp->GetId());
|
||||
|
||||
temp->Bind(wxEVT_TEXT_ENTER, ([this](wxCommandEvent e)
|
||||
{
|
||||
|
@ -472,7 +472,7 @@ void SpinCtrl::propagate_value()
|
|||
{
|
||||
if (tmp_value < 0)
|
||||
on_kill_focus();
|
||||
else
|
||||
else if (boost::any_cast<int>(m_value) != tmp_value)
|
||||
on_change_field();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue