From dce82fa005457d4cb9314922ac6e1247fa67d117 Mon Sep 17 00:00:00 2001 From: Valentin Vanelslande Date: Sat, 29 Dec 2018 13:15:31 -0500 Subject: [PATCH] move comment --- src/citra_qt/configuration/configure_input.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/citra_qt/configuration/configure_input.cpp b/src/citra_qt/configuration/configure_input.cpp index 7bfc58aa89..09a6a83303 100644 --- a/src/citra_qt/configuration/configure_input.cpp +++ b/src/citra_qt/configuration/configure_input.cpp @@ -96,9 +96,6 @@ static QString AnalogToText(const Common::ParamPackage& param, const std::string ConfigureInput::ConfigureInput(QWidget* parent) : QWidget(parent), ui(std::make_unique()), timeout_timer(std::make_unique()), poll_timer(std::make_unique()) { - - // If the user closes the dialog, the changes are reverted in `GMainWindow::OnConfigure()` - ui->setupUi(this); setFocusPolicy(Qt::ClickFocus); @@ -141,6 +138,8 @@ ConfigureInput::ConfigureInput(QWidget* parent) handleClick(button_map[button_id], [=](const Common::ParamPackage& params) { buttons_param[button_id] = params; + // If the user closes the dialog, the changes are reverted in + // `GMainWindow::OnConfigure()` applyConfiguration(); Settings::SaveProfile(ui->profile->currentIndex()); },