citra_qt/configuration: fix input configuration disappearing after changing languages
Previously, once you change language, the texts in the buttons in the Input tab will disappear. It is because the default text in the buttons are empty, and we did not update the text after translations are reloaded, aka texts are reset. This commit fixed the issue.
This commit is contained in:
parent
87872aa369
commit
79a38f8782
@ -289,4 +289,5 @@ void ConfigureInput::keyPressEvent(QKeyEvent* event) {
|
|||||||
|
|
||||||
void ConfigureInput::retranslateUi() {
|
void ConfigureInput::retranslateUi() {
|
||||||
ui->retranslateUi(this);
|
ui->retranslateUi(this);
|
||||||
|
updateButtonLabels();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user