]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBranch.cpp
InsetTabular.cpp: fix #6585 also for wrapped floats - thanks Vincent
[lyx.git] / src / insets / InsetBranch.cpp
index b43fda3d2ec2421a8479260fa8a67d09ed36e484..82b5ad8dacda178e587f9849b725e6db63388af7 100644 (file)
@@ -119,6 +119,9 @@ void InsetBranch::doDispatch(Cursor & cur, FuncRequest & cmd)
                InsetBranchParams params;
                InsetBranch::string2params(to_utf8(cmd.argument()), params);
                params_.branch = params.branch;
+               // what we really want here is a TOC update, but that means
+               // a full buffer update
+               cur.forceBufferUpdate();
                break;
        }
        case LFUN_BRANCH_ACTIVATE: