From c595a1f74673e95463665f3eecd6bbf6be0f5cd6 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Thu, 18 Apr 2019 15:17:54 +0200 Subject: * lyx 2.3 patches Signed-off-by: Pavel Sanda --- app-office/lyx/files/2.3.patches | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'app-office/lyx/files') diff --git a/app-office/lyx/files/2.3.patches b/app-office/lyx/files/2.3.patches index 358fc0f..1a8585c 100644 --- a/app-office/lyx/files/2.3.patches +++ b/app-office/lyx/files/2.3.patches @@ -160,3 +160,18 @@ index 3d7936abc7..07bed1d88e 100644 theFormats().getFormatFromFile(params.filename)); } +diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp +index 8fe7ddada2..8b2be2981d 100644 +--- a/src/frontends/qt4/GuiDocument.cpp ++++ b/src/frontends/qt4/GuiDocument.cpp +@@ -4507,6 +4507,10 @@ 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(); -- cgit v1.2.3-18-g5258