From 36cb544e5bf0c81962ba71e9441fec13f0796a30 Mon Sep 17 00:00:00 2001
From: YuSanka <yusanka@gmail.com>
Date: Tue, 20 Oct 2020 11:17:51 +0200
Subject: [PATCH] Fix of #4909 Deleted redundant control of the mode update. We
 should update DoubleSlider's mode every time

---
 src/slic3r/GUI/DoubleSlider.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/slic3r/GUI/DoubleSlider.cpp b/src/slic3r/GUI/DoubleSlider.cpp
index 2fb6c508e..a4cea3e28 100644
--- a/src/slic3r/GUI/DoubleSlider.cpp
+++ b/src/slic3r/GUI/DoubleSlider.cpp
@@ -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));
 }