]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.cpp
Do not output deleted rows columns if show changes in output is false
[lyx.git] / src / insets / InsetBranch.cpp
index ecce3796ce54a8350cba10a705103b1bcc2ced42..6afa0c72ea6f575491359a7949e5de09dc0e5d8c 100644 (file)
@@ -194,7 +194,7 @@ void InsetBranch::doDispatch(Cursor & cur, FuncRequest & cmd)
                // if branch exists in a descendant, update previews.
                // TODO: only needed if "Show preview" is enabled in the included inset.
                bool exists_in_desc = false;
-               for (auto const & it : buf->getDescendents()) {
+               for (auto const & it : buf->getDescendants()) {
                        if (it->params().branchlist().find(params_.branch))
                                exists_in_desc = true;
                }