From: Enrico Forestieri Date: Sun, 15 Jun 2008 14:21:53 +0000 (+0000) Subject: Fix bug 4951 X-Git-Tag: 1.6.10~4389 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=593e06989a7802c1113b7a01af60373989aee72c;p=features.git Fix bug 4951 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 --- diff --git a/src/LyX.cpp b/src/LyX.cpp index 794df0da68..5ad80dc795 100644 --- a/src/LyX.cpp +++ b/src/LyX.cpp @@ -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);