mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-24 13:48:59 +00:00
Implement some forgotten context menu items for arguments
* Dissolve context menu * Label toggle (for conglomerate-styled arguments) Fixes: #10150
This commit is contained in:
parent
8f858a5785
commit
55f2cc2286
@ -158,10 +158,19 @@ Menuset
|
|||||||
#
|
#
|
||||||
# InsetArgument context menu
|
# InsetArgument context menu
|
||||||
#
|
#
|
||||||
|
|
||||||
Menu "context-argument"
|
Menu "context-argument"
|
||||||
|
Item "Dissolve Inset|D" "inset-dissolve"
|
||||||
|
Separator
|
||||||
SwitchArguments
|
SwitchArguments
|
||||||
End
|
End
|
||||||
|
|
||||||
|
Menu "context-argument-conglomerate"
|
||||||
|
Item "Show Label|L" "inset-toggle"
|
||||||
|
Item "Dissolve Inset|D" "inset-dissolve"
|
||||||
|
Separator
|
||||||
|
SwitchArguments
|
||||||
|
End
|
||||||
|
|
||||||
#
|
#
|
||||||
# InsetBox context menu
|
# InsetBox context menu
|
||||||
|
@ -232,7 +232,10 @@ bool InsetArgument::getStatus(Cursor & cur, FuncRequest const & cmd,
|
|||||||
|
|
||||||
string InsetArgument::contextMenuName() const
|
string InsetArgument::contextMenuName() const
|
||||||
{
|
{
|
||||||
return "context-argument";
|
if (decoration() == InsetLayout::CONGLOMERATE)
|
||||||
|
return "context-argument-conglomerate";
|
||||||
|
else
|
||||||
|
return "context-argument";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user