break;
} else {
// In this case the child buffer is open but hidden.
- // It therefore should not (MUST NOT) be dirty!
- LATTEST(child_buf->isClean());
- theBufferList().release(child_buf);
+ // Even in this case, children can be dirty (e.g.,
+ // after a label change in the master, see #11405).
+ // Therefore, check this.
+ if (saveBufferIfNeeded(*child_buf, false)) {
+ child_buf->removeAutosaveFile();
+ theBufferList().release(child_buf);
+ }
}
}
}
- Fix reloading of local layout file (bug 11120).
+- Check for dirty hidden child documents when closing (bug 11405).
+
- Fix selection of unmarked RtL characters with Qt 5.11 (bug 11284).
- Fix on-screen display of macros whose name is a single non-letter symbol