From 911bb322741b3dacc3a680aba97a6c1ad0591217 Mon Sep 17 00:00:00 2001 From: Steven Cherry Date: Thu, 16 Jun 2016 18:37:09 -0500 Subject: [PATCH] Fix layout. Fix duplicate keys. --- src/citra_qt/configure.ui | 8 +++++++- src/citra_qt/configure_input.cpp | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/citra_qt/configure.ui b/src/citra_qt/configure.ui index 6e0785d2b..7ef595a3e 100644 --- a/src/citra_qt/configure.ui +++ b/src/citra_qt/configure.ui @@ -1,4 +1,4 @@ - + ConfigureDialog @@ -10,6 +10,12 @@ 501 + + + 441 + 0 + + Citra Configuration diff --git a/src/citra_qt/configure_input.cpp b/src/citra_qt/configure_input.cpp index 9cb704d7d..9922f45a9 100644 --- a/src/citra_qt/configure_input.cpp +++ b/src/citra_qt/configure_input.cpp @@ -101,7 +101,7 @@ void ConfigureInput::setKey() changing_button->setText(previous_mapping); else changing_button->setText(key_value); - + removeDuplicates(key_value); key_pressed = Qt::Key_unknown; releaseKeyboard(); releaseMouse();