mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
Call SetUserDirectory before InitLanguageSupport
Fixes a regression from 4.0-5692 where only the system language was used.
This commit is contained in:
parent
e96569ff0c
commit
2cb4a3efbc
@ -135,8 +135,6 @@ bool DolphinApp::OnInit()
|
||||
Bind(wxEVT_QUERY_END_SESSION, &DolphinApp::OnEndSession, this);
|
||||
Bind(wxEVT_END_SESSION, &DolphinApp::OnEndSession, this);
|
||||
|
||||
InitLanguageSupport();
|
||||
|
||||
// Declarations and definitions
|
||||
bool UseDebugger = false;
|
||||
bool UseLogger = false;
|
||||
@ -246,6 +244,7 @@ bool DolphinApp::OnInit()
|
||||
|
||||
UICommon::SetUserDirectory(userPath.ToStdString());
|
||||
UICommon::CreateDirectories();
|
||||
InitLanguageSupport(); // The language setting is loaded from the user directory
|
||||
UICommon::Init();
|
||||
|
||||
if (selectPerfDir)
|
||||
|
Loading…
Reference in New Issue
Block a user