Fixed crash when clicking on area of remap dialog with no button in

svn-id: r33884
This commit is contained in:
Stephen Kennedy 2008-08-14 23:38:13 +00:00
parent 86d0c8cb11
commit 6d0ed23b44

View file

@ -187,6 +187,7 @@ void RemapDialog::handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 d
}
void RemapDialog::startRemapping(uint i) {
if (_topAction + i >= _currentActions.size()) return;
_remapTimeout = getMillis() + kRemapTimeoutDelay;
_activeRemapAction = _currentActions[_topAction + i].action;
_keymapWidgets[i].keyButton->setLabel("...");