mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 05:33:33 +00:00
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.
This commit is contained in:
parent
9146acb9fd
commit
dfb8dc91c1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user