mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
InsetInfo: Output 'undefined' instead of an error message for undefined shortcut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26040 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e2a774983e
commit
d145c2dc9f
@ -254,7 +254,8 @@ void InsetInfo::updateInfo()
|
||||
}
|
||||
KeyMap::Bindings bindings = theTopLevelKeymap().findBindings(func);
|
||||
if (bindings.empty()) {
|
||||
error("No binding for action %1$s");
|
||||
// It is impropriate to use error() for undefined shortcut
|
||||
setText(_("undefined"));
|
||||
break;
|
||||
}
|
||||
if (type_ == SHORTCUT_INFO)
|
||||
|
Loading…
Reference in New Issue
Block a user