]> git.lyx.org Git - lyx.git/commit
Do not open or close branches after doc settings
authorScott Kostyshak <skostysh@lyx.org>
Sun, 30 Oct 2016 21:50:40 +0000 (17:50 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Sun, 16 Apr 2017 20:54:29 +0000 (16:54 -0400)
commit742b39f49da96eb4881bb3b7b0bbf32be5a226bd
tree6c6a7acbe84a97a2694ec76178d348836727b2c4
parentecddbe6fb9d05fd7d8e0ae78c9f924c926ff298c
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
src/frontends/qt4/GuiDocument.cpp