On Sun, Oct 30, 2016 at 06:08:13PM -0400, Scott Kostyshak wrote: > Thoughts?
Patch attached. Scott
From d0df5f87ca180e2b6ab8c1276718f644061d44d7 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak <skost...@lyx.org> Date: Sun, 30 Oct 2016 17:50:40 -0400 Subject: [PATCH] Do not open or close branches after doc settings When changing applying or saving Document Settings, there is no reason to open or close branch insets based on whether the branch of the inset is active. The user likely does not expect this. This modifies fd6cd728. --- src/frontends/qt4/GuiDocument.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index 2a40873..1b3236a 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -3828,10 +3828,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(); -- 2.7.4
signature.asc
Description: PGP signature