mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-30 01:54:40 +08:00
Fix of #4909
Deleted redundant control of the mode update. We should update DoubleSlider's mode every time
This commit is contained in:
parent
068a254ef0
commit
36cb544e5b
@ -2095,7 +2095,7 @@ void Control::jump_to_print_z()
|
|||||||
|
|
||||||
void Control::post_ticks_changed_event(Type type /*= Custom*/)
|
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));
|
wxPostEvent(this->GetParent(), wxCommandEvent(wxCUSTOMEVT_TICKSCHANGED));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user