mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
restore crucial float information in note insets (bug #9760)
This commit is contained in:
parent
9b7ccbfc80
commit
02ead6a93a
@ -774,6 +774,9 @@ void InsetText::updateBuffer(ParIterator const & it, UpdateType utype)
|
||||
// since we are saving and restoring the existing counters, etc.
|
||||
Counters const savecnt = tclass.counters();
|
||||
tclass.counters().reset();
|
||||
// we need float information even in note insets (#9760)
|
||||
tclass.counters().current_float(savecnt.current_float());
|
||||
tclass.counters().isSubfloat(savecnt.isSubfloat());
|
||||
buffer().updateBuffer(it2, utype);
|
||||
tclass.counters() = savecnt;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user