]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetWrap.cpp
This patch introduces an optional argument to Buffer::updateLabels(), so
[lyx.git] / src / insets / InsetWrap.cpp
index f8e2c5ef981d17b456105b18035289e65084a07d..e92fdb76cd8eab8f1d8fa002334282ed9eb65a44 100644 (file)
@@ -114,7 +114,7 @@ bool InsetWrap::getStatus(Cursor & cur, FuncRequest const & cmd,
 }
 
 
-void InsetWrap::updateLabels(ParIterator const & it)
+void InsetWrap::updateLabels(ParIterator const & it, bool out)
 {
        setLabel(_("wrap: ") + floatName(params_.type));
        Counters & cnts =
@@ -124,7 +124,7 @@ void InsetWrap::updateLabels(ParIterator const & it)
        // Tell to captions what the current float is
        cnts.current_float(params().type);
 
-       InsetCollapsable::updateLabels(it);
+       InsetCollapsable::updateLabels(it, out);
 
        // reset afterwards
        cnts.current_float(saveflt);