mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
NEW: add plate tab at objectlist
Jira: STUDIO-4154 Change-Id: Id24517df3c15cc3907cb6b1fe0ea9d1b6c6d1e56
This commit is contained in:
@@ -1260,6 +1260,7 @@ void MainFrame::create_preset_tabs()
|
||||
m_param_dialog = new ParamsDialog(m_plater);
|
||||
|
||||
add_created_tab(new TabPrint(m_param_panel), "cog");
|
||||
add_created_tab(new TabPrintPlate(m_param_panel), "cog");
|
||||
add_created_tab(new TabPrintObject(m_param_panel), "cog");
|
||||
add_created_tab(new TabPrintPart(m_param_panel), "cog");
|
||||
add_created_tab(new TabPrintLayer(m_param_panel), "cog");
|
||||
@@ -1279,6 +1280,10 @@ void MainFrame::add_created_tab(Tab* panel, const std::string& bmp_name /*= ""*
|
||||
{
|
||||
panel->create_preset_tab();
|
||||
|
||||
if (panel->type() == Preset::TYPE_PLATE) {
|
||||
wxGetApp().tabs_list.pop_back();
|
||||
wxGetApp().plate_tab = panel;
|
||||
}
|
||||
// BBS: model config
|
||||
if (panel->type() == Preset::TYPE_MODEL) {
|
||||
wxGetApp().tabs_list.pop_back();
|
||||
|
||||
Reference in New Issue
Block a user