Fix crash when hitting delete key once more after deleting

all the keystrokes associated with an LFUN in the shortcut
dialog.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29017 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-04-02 18:19:33 +00:00
parent be0991288a
commit 275c9cde02

View File

@ -189,6 +189,8 @@ void KeySequence::removeKey()
return;
sequence.pop_back();
modifiers.pop_back();
if (sequence.empty())
deleted_ = true;
}