mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-15 13:42:40 -07:00
Fix of the change of the perimeters count in a vase-mode (part fix of #1649)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user