mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-08 02:53:25 -08:00
[Client] Restore language switching in SettingsView
Take over DlgSettings::updateLanguage: swap the QTranslator on langChanged before any retranslateUi runs, so picking a language applies immediately instead of waiting for a restart.
This commit is contained in:
parent
3745c5d21d
commit
18cd13d196
2 changed files with 13 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ private slots:
|
|||
void onTabClicked(int index);
|
||||
void onSearchTextChanged(const QString &text);
|
||||
void onSearchResultClicked(const QModelIndex &index);
|
||||
void updateLanguage();
|
||||
|
||||
private:
|
||||
// UI elements
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue