mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
info-insert without arg is valid
it opens the info dialog.
This commit is contained in:
parent
92bfa07a62
commit
4648f39a1e
@ -2947,7 +2947,8 @@ bool Text::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
break;
|
||||
case LFUN_INFO_INSERT:
|
||||
code = INFO_CODE;
|
||||
enable = infoparams.validateArgument(cur.buffer(), cmd.argument(), true);
|
||||
enable = cmd.argument().empty()
|
||||
|| infoparams.validateArgument(cur.buffer(), cmd.argument(), true);
|
||||
break;
|
||||
case LFUN_ARGUMENT_INSERT: {
|
||||
code = ARG_CODE;
|
||||
|
Loading…
Reference in New Issue
Block a user