aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorTarek Soliman2012-02-05 19:01:51 -0600
committerTarek Soliman2012-02-05 19:01:51 -0600
commit9de279b2ab1eb75ca937d63fe337078d1d44cf3d (patch)
treeb2208ef93ecd360f406ed278dc7782c1cc6889c4 /backends
parent08a6acf91ce4dbf656fa82f953405dc66998bf15 (diff)
downloadscummvm-rg350-9de279b2ab1eb75ca937d63fe337078d1d44cf3d.tar.gz
scummvm-rg350-9de279b2ab1eb75ca937d63fe337078d1d44cf3d.tar.bz2
scummvm-rg350-9de279b2ab1eb75ca937d63fe337078d1d44cf3d.zip
KEYMAPPER: Fix active keymap name displayed in remap dialog
This workaround no longer applies and is in fact causing a bug in the name of active keymap
Diffstat (limited to 'backends')
-rw-r--r--backends/keymapper/remap-dialog.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/backends/keymapper/remap-dialog.cpp b/backends/keymapper/remap-dialog.cpp
index 445ed67e8a..8f187778d8 100644
--- a/backends/keymapper/remap-dialog.cpp
+++ b/backends/keymapper/remap-dialog.cpp
@@ -307,10 +307,6 @@ void RemapDialog::loadKeymap() {
List<const HardwareKey*> freeKeys(_keymapper->getHardwareKeys());
int topIndex = activeKeymaps.size() - 1;
- // skip the top gui keymap since it is for the keymapper itself
- // TODO: Don't use the keymap name as a way to discriminate GUI maps
- if (topIndex > 0 && activeKeymaps[topIndex].keymap->getName().equals(kGuiKeymapName))
- --topIndex;
// add most active keymap's keys
Keymapper::MapRecord top = activeKeymaps[topIndex];