[LyX/master] Further improve UI feedback in child document settings
Juergen Spitzmueller <[email protected]> Sun, 28 Jun 2026 11:06:33 +0000
| Newsgroups | gmane.editors.lyx.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit b687a4c8879e4f5a8ec833d758f28fe50bbb237f Author: Juergen Spitzmueller <[email protected]> Date: Sun Jun 28 12:42:29 2026 +0200 Further improve UI feedback in child document settings Warn is all children are being selected --- src/frontends/qt/GuiDocument.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/frontends/qt/GuiDocument.cpp b/src/frontends/qt/GuiDocument.cpp index 4717dba8e7..3c8b62050c 100644 --- a/src/frontends/qt/GuiDocument.cpp +++ b/src/frontends/qt/GuiDocument.cpp @@ -2172,6 +2172,11 @@ void GuiDocument::includeonlyClicked(QTreeWidgetItem * item, int) else includeonlys_.push_back(child); + if (int(includeonlys_.size()) == masterChildModule->childrenTW->topLevelItemCount()) + Alert::warning(_("All children selected!"), + _("If not at least one child is excluded, " + "this will be reset to 'Include all children' " + "after application.")); updateIncludeonlys(false); change_adaptor(); } -- lyx-cvs mailing list [email protected] https://lists.lyx.org/mailman/listinfo/lyx-cvs