]> git.lyx.org Git - features.git/commitdiff
Fix bug 4951
authorEnrico Forestieri <forenr@lyx.org>
Sun, 15 Jun 2008 14:21:53 +0000 (14:21 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Sun, 15 Jun 2008 14:21:53 +0000 (14:21 +0000)
http://bugzilla.lyx.org/show_bug.cgi?id=4951

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25261 a592a061-630c-0410-9148-cb99ea01b6c8

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);