Deleted redundant control of the mode update. We should update DoubleSlider's mode every time
This commit is contained in:
YuSanka 2020-10-20 11:17:51 +02:00
parent 068a254ef0
commit 36cb544e5b

View file

@ -2095,7 +2095,7 @@ void Control::jump_to_print_z()
void Control::post_ticks_changed_event(Type type /*= Custom*/)
{
m_force_mode_apply = type != ToolChange;
// m_force_mode_apply = type != ToolChange; // It looks like this condition is no needed now. Leave it for the testing
wxPostEvent(this->GetParent(), wxCommandEvent(wxCUSTOMEVT_TICKSCHANGED));
}