diff options
author | Tarek Soliman | 2012-02-05 19:01:51 -0600 |
---|---|---|
committer | Tarek Soliman | 2012-02-05 19:01:51 -0600 |
commit | 9de279b2ab1eb75ca937d63fe337078d1d44cf3d (patch) | |
tree | b2208ef93ecd360f406ed278dc7782c1cc6889c4 | |
parent | 08a6acf91ce4dbf656fa82f953405dc66998bf15 (diff) | |
download | scummvm-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
-rw-r--r-- | backends/keymapper/remap-dialog.cpp | 4 |
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]; |