citra-qt/configuration: Fix a weird issue where the tab UI disappears when language is changed.
This commit is contained in:
parent
988acf588a
commit
dccd1664ad
1 changed files with 5 additions and 5 deletions
|
@ -116,11 +116,11 @@ void ConfigureDialog::UpdateVisibleTabs() {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
const QHash<QString, QWidget*> widgets = {
|
const QHash<QString, QWidget*> widgets = {
|
||||||
{tr("General"), ui->generalTab}, {tr("System"), ui->systemTab},
|
{"General", ui->generalTab}, {"System", ui->systemTab},
|
||||||
{tr("Input"), ui->inputTab}, {tr("Hotkeys"), ui->hotkeysTab},
|
{"Input", ui->inputTab}, {"Hotkeys", ui->hotkeysTab},
|
||||||
{tr("Graphics"), ui->graphicsTab}, {tr("Audio"), ui->audioTab},
|
{"Graphics", ui->graphicsTab}, {"Audio", ui->audioTab},
|
||||||
{tr("Camera"), ui->cameraTab}, {tr("Debug"), ui->debugTab},
|
{"Camera", ui->cameraTab}, {"Debug", ui->debugTab},
|
||||||
{tr("Web"), ui->webTab}, {tr("UI"), ui->uiTab}};
|
{"Web", ui->webTab}, {"UI", ui->uiTab}};
|
||||||
|
|
||||||
ui->tabWidget->clear();
|
ui->tabWidget->clear();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue