From 593e06989a7802c1113b7a01af60373989aee72c Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sun, 15 Jun 2008 14:21:53 +0000 Subject: [PATCH] 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 --- src/LyX.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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);