]> git.lyx.org Git - features.git/blobdiff - src/LyX.cpp
Fix bug 4951
[features.git] / src / LyX.cpp
index 794df0da687d2eb3788c0aaf99285319f0ef6de2..5ad80dc795983ee04f69e3f5a57495b6be8f212a 100644 (file)
@@ -410,6 +410,10 @@ int LyX::exec(int & argc, char * argv[])
        // Let the frontend parse and remove all arguments that it knows
        pimpl_->application_.reset(createApplication(argc, argv));
 
+       // Reestablish our defaults, as Qt overwrites them
+       // after createApplication()
+       locale_init();
+
        // Parse and remove all known arguments in the LyX singleton
        // Give an error for all remaining ones.
        int exit_status = init(argc, argv);