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
This commit is contained in:
Enrico Forestieri 2008-06-15 14:21:53 +00:00
parent ae760fa72b
commit 593e06989a

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