mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
Removed the "Quick Slice" menu items from the main menu,
a little bit of code cleaning / refactoring.
This commit is contained in:
parent
edc306db45
commit
79986188a7
7 changed files with 8 additions and 37 deletions
|
@ -123,8 +123,8 @@ bool GUI_App::OnInit()
|
|||
|
||||
// application frame
|
||||
std::cerr << "Creating main frame..." << std::endl;
|
||||
// wxImage::FindHandlerType(wxBITMAP_TYPE_PNG) ||
|
||||
wxImage::AddHandler(new wxPNGHandler());
|
||||
if (wxImage::FindHandler(wxBITMAP_TYPE_PNG) == nullptr)
|
||||
wxImage::AddHandler(new wxPNGHandler());
|
||||
mainframe = new MainFrame(no_plater, false);
|
||||
sidebar().obj_list()->init_objects(); // propagate model objects to object list
|
||||
update_mode();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue