mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
FIXME for Andr�
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9618 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9b7c320e46
commit
fffd364418
@ -791,6 +791,7 @@ void LyXText::setCounter(Buffer const & buf, pit_type pit)
|
||||
bool isOK = false;
|
||||
while (tmppit != end) {
|
||||
in = pars_[tmppit].inInset();
|
||||
// FIXME: in should be always valid.
|
||||
if (in &&
|
||||
(in->lyxCode() == InsetBase::FLOAT_CODE ||
|
||||
in->lyxCode() == InsetBase::WRAP_CODE)) {
|
||||
|
Loading…
Reference in New Issue
Block a user