From dccd1664adca2f8774912f3267afdbe2d8b028f3 Mon Sep 17 00:00:00 2001 From: Adityarup Laha <30696515+adityaruplaha@users.noreply.github.com> Date: Sun, 9 Dec 2018 17:43:14 +0530 Subject: [PATCH] citra-qt/configuration: Fix a weird issue where the tab UI disappears when language is changed. --- src/citra_qt/configuration/configure_dialog.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/citra_qt/configuration/configure_dialog.cpp b/src/citra_qt/configuration/configure_dialog.cpp index a5d3d4fe9..a0ef52d2e 100644 --- a/src/citra_qt/configuration/configure_dialog.cpp +++ b/src/citra_qt/configuration/configure_dialog.cpp @@ -116,11 +116,11 @@ void ConfigureDialog::UpdateVisibleTabs() { return; const QHash 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();