The branch, master, has been updated. - Log -----------------------------------------------------------------
commit dfb8dc91c197237dfb64dbf5bb08fb29d1072a7d Author: Vincent van Ravesteijn <[email protected]> Date: Tue Jun 26 20:41:25 2012 +0200 Update the button text of InsetInclude insets The button text of InsetInclude insets shows whether the child document is included or excluded from compilation. Changing this for a child document in the document settings does not get reflected on screen. This patch updates the button text on the updateBuffer() call. diff --git a/src/insets/InsetInclude.cpp b/src/insets/InsetInclude.cpp index ed27b74..8252076 100644 --- a/src/insets/InsetInclude.cpp +++ b/src/insets/InsetInclude.cpp @@ -1143,6 +1143,8 @@ void InsetInclude::updateCommand() void InsetInclude::updateBuffer(ParIterator const & it, UpdateType utype) { + button_.update(screenLabel(), true); + Buffer const * const childbuffer = getChildBuffer(); if (childbuffer) { childbuffer->updateBuffer(Buffer::UpdateChildOnly, utype); ----------------------------------------------------------------------- Summary of changes: src/insets/InsetInclude.cpp | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) hooks/post-receive -- The LyX Source Repository
