mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* InsetWrap (updateLabels):
- use master buffer if necessary (fixes bug 5431). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27226 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
13cf13c690
commit
10e05161fb
@ -119,7 +119,8 @@ bool InsetWrap::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
void InsetWrap::updateLabels(ParIterator const & it)
|
||||
{
|
||||
setLabel(_("wrap: ") + floatName(params_.type, buffer().params()));
|
||||
Counters & cnts = buffer().params().documentClass().counters();
|
||||
Counters & cnts =
|
||||
buffer().masterBuffer()->params().documentClass().counters();
|
||||
string const saveflt = cnts.current_float();
|
||||
|
||||
// Tell to captions what the current float is
|
||||
|
Loading…
Reference in New Issue
Block a user