diff options
author | bubnikv <bubnikv@gmail.com> | 2019-03-23 01:00:23 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2019-03-23 01:00:23 +0300 |
commit | b2ef3ba291e3df265a52e8e69e3b99b10178aa75 (patch) | |
tree | 3afdd19ebb4d19d22d68abac54ac9f58f6463aef /src/slic3r/GUI/GUI_ObjectSettings.cpp | |
parent | 2fe27a29e0eb9420f14a2cad0e6cb42276be27d4 (diff) |
Fixed the options override box at the side bar.
Diffstat (limited to 'src/slic3r/GUI/GUI_ObjectSettings.cpp')
-rw-r--r-- | src/slic3r/GUI/GUI_ObjectSettings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/slic3r/GUI/GUI_ObjectSettings.cpp b/src/slic3r/GUI/GUI_ObjectSettings.cpp index 3781cbf45..db9af7cce 100644 --- a/src/slic3r/GUI/GUI_ObjectSettings.cpp +++ b/src/slic3r/GUI/GUI_ObjectSettings.cpp @@ -40,7 +40,7 @@ void OG_Settings::Hide() void OG_Settings::UpdateAndShow(const bool show) { Show(show); -// m_parent->Layout(); +// m_parent->Layout(); } wxSizer* OG_Settings::get_sizer() @@ -119,7 +119,7 @@ void ObjectSettings::update_settings_list() if (cat.second.size() == 1 && cat.second[0] == "extruder") continue; - auto optgroup = std::make_shared<ConfigOptionsGroup>(m_parent, cat.first, config, false, extra_column); + auto optgroup = std::make_shared<ConfigOptionsGroup>(m_og->ctrl_parent(), cat.first, config, false, extra_column); optgroup->label_width = 15 * wxGetApp().em_unit();//150; optgroup->sidetext_width = 7 * wxGetApp().em_unit();//70; |