Fixed uncorrected Settings sizer showing
This commit is contained in:
parent
49f0a1a824
commit
ebe5ee3b1f
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user