Fix layout. Fix duplicate keys.

This commit is contained in:
Steven Cherry 2016-06-16 18:37:09 -05:00
parent e07e3d38e3
commit 1988f6320d
2 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="utf-8"?>
<ui version="4.0">
<class>ConfigureDialog</class>
<widget class="QDialog" name="ConfigureDialog">
@ -10,6 +10,12 @@
<height>501</height>
</rect>
</property>
<property name="minimumSize">
<size>
<width>441</width>
<height>0</height>
</size>
</property>
<property name="windowTitle">
<string>Citra Configuration</string>
</property>

View File

@ -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();