Updated view mode for object_list and object_menu

This commit is contained in:
YuSanka 2019-01-25 10:34:32 +01:00
parent dbcf800353
commit 9b8cdb95dc
5 changed files with 51 additions and 35 deletions
src/slic3r/GUI

View file

@ -121,11 +121,6 @@ void MainFrame::init_tabpanel()
}
});
if (wxGetApp().plater_) {
// before creating a new plater let's delete old one
wxGetApp().plater_->Destroy();
wxGetApp().plater_ = nullptr;
}
m_plater = new Slic3r::GUI::Plater(m_tabpanel, this);
wxGetApp().plater_ = m_plater;
m_tabpanel->AddPage(m_plater, _(L("Plater")));