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)