Fixed error when trying to display keymappings.
Merge pull request #194 from drusk/keymap_dialog_fix

Fixed error when trying to display keymappings.