Fix initialization error
This commit is contained in:
parent
ad8039027a
commit
c5f683b094
|
@ -1403,7 +1403,6 @@ static void init_resources()
|
|||
void Application::initApplication(void)
|
||||
{
|
||||
try {
|
||||
Base::Interpreter().replaceStdOutput();
|
||||
initTypes();
|
||||
new Base::ScriptProducer( "FreeCADGuiInit", FreeCADGuiInit );
|
||||
init_resources();
|
||||
|
|
|
@ -225,6 +225,7 @@ int main( int argc, char ** argv )
|
|||
// Inits the Application
|
||||
App::Application::init(argc,argv);
|
||||
Gui::Application::initApplication();
|
||||
Base::Interpreter().replaceStdOutput();
|
||||
}
|
||||
catch (const Base::UnknownProgramOption& e) {
|
||||
QApplication app(argc,argv);
|
||||
|
|
Loading…
Reference in New Issue
Block a user