mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-16 07:47:58 +01:00
Move language setting and event from AudacityApp.h to GUIPrefs.h
This commit is contained in:
@@ -60,10 +60,10 @@
|
||||
#include <wx/filename.h>
|
||||
#include <wx/stdpaths.h>
|
||||
|
||||
#include "AudacityApp.h"
|
||||
#include "FileNames.h"
|
||||
#include "Languages.h"
|
||||
|
||||
#include "prefs/GUIPrefs.h"
|
||||
#include "widgets/ErrorDialog.h"
|
||||
|
||||
std::unique_ptr<AudacityPrefs> ugPrefs {};
|
||||
@@ -216,7 +216,7 @@ void InitPreferences()
|
||||
}
|
||||
}
|
||||
|
||||
langCode = wxGetApp().InitLang( langCode );
|
||||
langCode = GUIPrefs::InitLang( langCode );
|
||||
|
||||
// User requested that the preferences be completely reset
|
||||
if (resetPrefs)
|
||||
|
||||
Reference in New Issue
Block a user