mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Code cleaning for the 6ed9adaeff
commit
This commit is contained in:
parent
6ed9adaeff
commit
ba0ad954e8
3 changed files with 68 additions and 130 deletions
|
@ -3615,7 +3615,7 @@ void DoubleSlider::change_extruder(int extruder)
|
|||
// if on this Y doesn't exist tick
|
||||
if (m_ticks_.find(tick) == m_ticks_.end())
|
||||
{
|
||||
m_ticks_.insert(TICK_CODE(tick, "tool_change", extruder, colors[extruder-1]));
|
||||
m_ticks_.insert(TICK_CODE(tick, "tool_change", extruder, extruder == 0 ? "" : colors[extruder-1]));
|
||||
|
||||
wxPostEvent(this->GetParent(), wxCommandEvent(wxCUSTOMEVT_TICKSCHANGED));
|
||||
Refresh();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue