mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
Merge pull request #2167 from JosJuice/language-selection-regression
Call SetUserDirectory before InitLanguageSupport
This commit is contained in:
commit
a3f6cbfe6b
1 changed files with 1 additions and 2 deletions
|
@ -135,8 +135,6 @@ bool DolphinApp::OnInit()
|
||||||
Bind(wxEVT_QUERY_END_SESSION, &DolphinApp::OnEndSession, this);
|
Bind(wxEVT_QUERY_END_SESSION, &DolphinApp::OnEndSession, this);
|
||||||
Bind(wxEVT_END_SESSION, &DolphinApp::OnEndSession, this);
|
Bind(wxEVT_END_SESSION, &DolphinApp::OnEndSession, this);
|
||||||
|
|
||||||
InitLanguageSupport();
|
|
||||||
|
|
||||||
// Declarations and definitions
|
// Declarations and definitions
|
||||||
bool UseDebugger = false;
|
bool UseDebugger = false;
|
||||||
bool UseLogger = false;
|
bool UseLogger = false;
|
||||||
|
@ -246,6 +244,7 @@ bool DolphinApp::OnInit()
|
||||||
|
|
||||||
UICommon::SetUserDirectory(userPath.ToStdString());
|
UICommon::SetUserDirectory(userPath.ToStdString());
|
||||||
UICommon::CreateDirectories();
|
UICommon::CreateDirectories();
|
||||||
|
InitLanguageSupport(); // The language setting is loaded from the user directory
|
||||||
UICommon::Init();
|
UICommon::Init();
|
||||||
|
|
||||||
if (selectPerfDir)
|
if (selectPerfDir)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue