citra-emu
/
citra
Archived
1
0
Fork 0

citra-qt/configuration: Fix a weird issue where the tab UI disappears when language is changed.

This commit is contained in:
Adityarup Laha 2018-12-09 17:43:14 +05:30
parent 988acf588a
commit dccd1664ad
No known key found for this signature in database
GPG Key ID: 1B24048A1F78845F
1 changed files with 5 additions and 5 deletions

View File

@ -116,11 +116,11 @@ void ConfigureDialog::UpdateVisibleTabs() {
return;
const QHash<QString, QWidget*> widgets = {
{tr("General"), ui->generalTab}, {tr("System"), ui->systemTab},
{tr("Input"), ui->inputTab}, {tr("Hotkeys"), ui->hotkeysTab},
{tr("Graphics"), ui->graphicsTab}, {tr("Audio"), ui->audioTab},
{tr("Camera"), ui->cameraTab}, {tr("Debug"), ui->debugTab},
{tr("Web"), ui->webTab}, {tr("UI"), ui->uiTab}};
{"General", ui->generalTab}, {"System", ui->systemTab},
{"Input", ui->inputTab}, {"Hotkeys", ui->hotkeysTab},
{"Graphics", ui->graphicsTab}, {"Audio", ui->audioTab},
{"Camera", ui->cameraTab}, {"Debug", ui->debugTab},
{"Web", ui->webTab}, {"UI", ui->uiTab}};
ui->tabWidget->clear();