mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 18:43:37 +00:00
Fix context menu of InsetMathRef
This commit is contained in:
parent
a020bbc4a8
commit
31ec96e01f
@ -164,6 +164,10 @@ bool InsetMathRef::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
switch (cmd.action()) {
|
||||
// we handle these
|
||||
case LFUN_INSET_MODIFY:
|
||||
if (cmd.getArg(0) == "changetype")
|
||||
status.setOnOff(from_ascii(cmd.getArg(1)) == commandname());
|
||||
status.setEnabled(true);
|
||||
return true;
|
||||
case LFUN_INSET_DIALOG_UPDATE:
|
||||
case LFUN_INSET_SETTINGS:
|
||||
case LFUN_MOUSE_RELEASE:
|
||||
|
Loading…
Reference in New Issue
Block a user