mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue