From 11ee0cc2ccc9f922f7d8d0cef9bcc2c53b0ef850 Mon Sep 17 00:00:00 2001 From: YuSanka Date: Wed, 4 Nov 2020 13:14:57 +0100 Subject: [PATCH] Hot-fix for my last commit (https://github.com/prusa3d/PrusaSlicer/commit/d576c029bdbbe1adbefb1f34f14adab8020aee32) --- src/slic3r/GUI/OG_CustomCtrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/OG_CustomCtrl.cpp b/src/slic3r/GUI/OG_CustomCtrl.cpp index bf7faf565..22729c8c2 100644 --- a/src/slic3r/GUI/OG_CustomCtrl.cpp +++ b/src/slic3r/GUI/OG_CustomCtrl.cpp @@ -122,7 +122,7 @@ wxPoint OG_CustomCtrl::get_pos(const Line& line, Field* field_in/* = nullptr*/) line_height = win_height; }; - for (auto ctrl_line : ctrl_lines) { + for (CtrlLine& ctrl_line : ctrl_lines) { if (&ctrl_line.og_line == &line) { h_pos = m_bmp_mode_sz.GetWidth() + m_h_gap;