mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 20:45:47 +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 "Deactivate Branch|e" "branch-deactivate"
|
||||||
OptItem "Activate Branch in Master|M" "branch-master-activate"
|
OptItem "Activate Branch in Master|M" "branch-master-activate"
|
||||||
OptItem "Deactivate Branch in Master|v" "branch-master-deactivate"
|
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"
|
OptItem "Add Unknown Branch|w" "branch-add"
|
||||||
End
|
End
|
||||||
|
|
||||||
|
@ -225,6 +225,7 @@ bool InsetBranch::getStatus(Cursor & cur, FuncRequest const & cmd,
|
|||||||
|
|
||||||
case LFUN_BRANCH_INVERT:
|
case LFUN_BRANCH_INVERT:
|
||||||
flag.setEnabled(true);
|
flag.setEnabled(true);
|
||||||
|
flag.setOnOff(params_.inverted);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LFUN_BRANCH_ADD:
|
case LFUN_BRANCH_ADD:
|
||||||
|
Loading…
Reference in New Issue
Block a user