mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-11 15:28:59 +08:00
Last pieces of refactor
This commit is contained in:
parent
1209da02d5
commit
b69b47b8e2
@ -46,12 +46,8 @@ main(int argc, char **argv)
|
|||||||
DynamicPrintConfig print_config;
|
DynamicPrintConfig print_config;
|
||||||
|
|
||||||
#ifdef USE_WX
|
#ifdef USE_WX
|
||||||
std::shared_ptr<GUI::Settings> gui_config = std::make_shared<GUI::Settings>();
|
GUI::App *gui = new GUI::App();
|
||||||
|
|
||||||
GUI::App *gui = new GUI::App(gui_config);
|
|
||||||
|
|
||||||
gui_config->show_host = true;
|
|
||||||
|
|
||||||
GUI::App::SetInstance(gui);
|
GUI::App::SetInstance(gui);
|
||||||
wxEntry(argc, argv);
|
wxEntry(argc, argv);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user