From d7d0edf4dc35a2c2909a2ade506e75f628d4ab9a Mon Sep 17 00:00:00 2001 From: YuSanka Date: Mon, 28 May 2018 12:04:39 +0200 Subject: [PATCH] edit_object_buttons moved to Object/Part Settings --- xs/src/slic3r/GUI/GUI.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/xs/src/slic3r/GUI/GUI.cpp b/xs/src/slic3r/GUI/GUI.cpp index 166fc9c26..bbb113105 100644 --- a/xs/src/slic3r/GUI/GUI.cpp +++ b/xs/src/slic3r/GUI/GUI.cpp @@ -1007,6 +1007,8 @@ wxBoxSizer* content_settings(wxWindow *win) m_optgroups.push_back(optgroup); // ogObjectSettings auto sizer = new wxBoxSizer(wxVERTICAL); + sizer->Add(content_edit_object_buttons(win), 0, wxEXPAND, 0); // *** Edit Object Buttons*** + sizer->Add(optgroup->sizer, 1, wxEXPAND | wxLEFT, 20); auto add_btn = new wxButton(win, wxID_ANY, "", wxDefaultPosition, wxDefaultSize, wxBU_EXACTFIT | wxNO_BORDER); @@ -1040,9 +1042,6 @@ void add_expert_mode_part(wxWindow* parent, wxBoxSizer* sizer) g_right_panel->Layout(); })); - // *** Edit Object Buttons*** - main_sizer->Add(content_edit_object_buttons(main_page), 0, wxEXPAND, 0); - // *** Object/Part Settings *** m_collpane_settings = add_prusa_collapsible_pane(main_page, main_sizer, "Settings:", content_settings); m_collpane_settings->Show(false);