mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Do not open or close branches after doc settings
When applying or saving Document Settings, LyX no longer opens or
closes branch insets. The intent of the previous code was to open
branch insets of a branch that is activated, and close branch insets
of a branch that is deactivated.
After some discussion [1], it was decided that the behavior intended
by the previous code was inconsistent with activating/deactivating a
branch in the context-menu of a branch inset, and the previous code
assumed a workflow of the user, rather than letting the user
separate opening/closing branch insets from activating/deactivating
them.
This commit modifies fd6cd728
.
[1] https://www.mail-archive.com/search?l=mid&q=20161030220813.3zlp3zgqgomhx35y%40steph
This commit is contained in:
parent
ecddbe6fb9
commit
742b39f49d
@ -4209,10 +4209,6 @@ void GuiDocument::dispatchParams()
|
||||
docstring const str = current_branch + ' ' + from_ascii(x11hexname);
|
||||
dispatch(FuncRequest(LFUN_SET_COLOR, str));
|
||||
}
|
||||
|
||||
// Open insets of selected branches, close deselected ones
|
||||
dispatch(FuncRequest(LFUN_INSET_FORALL,
|
||||
"Branch inset-toggle assign"));
|
||||
}
|
||||
// rename branches in the document
|
||||
executeBranchRenaming();
|
||||
|
Loading…
Reference in New Issue
Block a user