mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
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:
parent
be0991288a
commit
275c9cde02
@ -189,6 +189,8 @@ void KeySequence::removeKey()
|
||||
return;
|
||||
sequence.pop_back();
|
||||
modifiers.pop_back();
|
||||
if (sequence.empty())
|
||||
deleted_ = true;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user