citra-qt: Fixed reloading hotkeys on-the fly.

This commit is contained in:
Adityarup Laha
2018-11-16 21:19:43 +05:30
parent 5fa25fcf13
commit 9615acb550
3 changed files with 1 additions and 5 deletions

View File

@ -26,8 +26,6 @@ ConfigureDialog::ConfigureDialog(QWidget* parent, const HotkeyRegistry& registry
&ConfigureHotkeys::OnInputKeysChanged);
connect(ui->hotkeysTab, &ConfigureHotkeys::HotkeysChanged, ui->inputTab,
&ConfigureInput::OnHotkeysChanged);
connect(ui->hotkeysTab, &ConfigureHotkeys::HotkeysChanged, this,
[this]() { emit UpdateHotkeys(); });
// Synchronise lists upon initialisation
ui->inputTab->EmitInputKeysChanged();