mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Branch-invert: Add a check mark to the switch in the contextual menu.
This commit is contained in:
parent
5d292fce2d
commit
6f97684d56
@ -494,7 +494,7 @@ Menuset
|
||||
OptItem "Deactivate Branch|e" "branch-deactivate"
|
||||
OptItem "Activate Branch in Master|M" "branch-master-activate"
|
||||
OptItem "Deactivate Branch in Master|v" "branch-master-deactivate"
|
||||
OptItem "Toggle Inversion|I" "branch-invert"
|
||||
OptItem "Invert Inset|I" "branch-invert"
|
||||
OptItem "Add Unknown Branch|w" "branch-add"
|
||||
End
|
||||
|
||||
|
@ -225,6 +225,7 @@ bool InsetBranch::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
|
||||
case LFUN_BRANCH_INVERT:
|
||||
flag.setEnabled(true);
|
||||
flag.setOnOff(params_.inverted);
|
||||
break;
|
||||
|
||||
case LFUN_BRANCH_ADD:
|
||||
|
Loading…
Reference in New Issue
Block a user