From 1308b255fe44313b970a04712222e1fd40a19ad8 Mon Sep 17 00:00:00 2001 From: David Kocik Date: Wed, 13 Oct 2021 17:04:25 +0200 Subject: [PATCH] missing include and template type --- src/slic3r/GUI/Preferences.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/Preferences.cpp b/src/slic3r/GUI/Preferences.cpp index 1ce6fe12d..ae52b52a9 100644 --- a/src/slic3r/GUI/Preferences.cpp +++ b/src/slic3r/GUI/Preferences.cpp @@ -9,6 +9,7 @@ #include "Notebook.hpp" #include "ButtonsDescription.hpp" #include "OG_CustomCtrl.hpp" +#include namespace Slic3r { @@ -504,7 +505,7 @@ void PreferencesDialog::build(size_t selected_tab) void PreferencesDialog::update_ctrls_alignment() { int max_ctrl_width{ 0 }; - std::initializer_list og_list = { m_optgroup_general.get(), m_optgroup_camera.get(), m_optgroup_gui.get() }; + std::initializer_list og_list = { m_optgroup_general.get(), m_optgroup_camera.get(), m_optgroup_gui.get() }; for (auto og : og_list) { if (int max = og->custom_ctrl->get_max_win_width(); max_ctrl_width < max)