Fixed uncorrected Settings sizer showing

This commit is contained in:
YuSanka 2018-06-07 14:57:45 +02:00
parent 49f0a1a824
commit ebe5ee3b1f

View File

@ -1132,11 +1132,13 @@ void select_current_object(int idx)
if (idx < 0) return; if (idx < 0) return;
m_objects_ctrl->Select(m_objects_model->GetItemById(idx)); m_objects_ctrl->Select(m_objects_model->GetItemById(idx));
if (get_view_mode() == ConfigMenuModeExpert){
if (!m_sizer_object_buttons->IsShown(1)) if (!m_sizer_object_buttons->IsShown(1))
m_sizer_object_buttons->Show(true); m_sizer_object_buttons->Show(true);
if (!m_collpane_settings->IsShown()) if (!m_collpane_settings->IsShown())
m_collpane_settings->Show(true); m_collpane_settings->Show(true);
} }
}
void add_expert_mode_part(wxWindow* parent, wxBoxSizer* sizer, int event_object_selection_changed) void add_expert_mode_part(wxWindow* parent, wxBoxSizer* sizer, int event_object_selection_changed)
{ {