mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Collapse_toolbar: fixed draw items
+ Extended toolbar
This commit is contained in:
parent
fcb85dcdc3
commit
1c1a7ed712
2 changed files with 26 additions and 6 deletions
|
@ -373,6 +373,8 @@ bool GUI_App::on_init_inner()
|
|||
if (wxImage::FindHandler(wxBITMAP_TYPE_PNG) == nullptr)
|
||||
wxImage::AddHandler(new wxPNGHandler());
|
||||
mainframe = new MainFrame();
|
||||
mainframe->switch_to(true); // hide settings tabs after first Layout
|
||||
|
||||
sidebar().obj_list()->init_objects(); // propagate model objects to object list
|
||||
// update_mode(); // !!! do that later
|
||||
SetTopWindow(mainframe);
|
||||
|
@ -424,8 +426,6 @@ bool GUI_App::on_init_inner()
|
|||
|
||||
update_mode(); // update view mode after fix of the object_list size
|
||||
|
||||
mainframe->switch_to(true); // hide settings tabs after mode updating
|
||||
|
||||
m_initialized = true;
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue