mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 20:45:47 +00:00
Fixup e2cf6731
: fix thinko
The current buffer is part of allRelatives(), contrary to what I
thought. Therefore updateId() increased the buffer id by two.
(cherry picked from commit 2eb4e3d3ca
)
This commit is contained in:
parent
e2cf6731c0
commit
76ef192214
@ -821,7 +821,6 @@ int Buffer::id() const
|
|||||||
|
|
||||||
void Buffer::updateId()
|
void Buffer::updateId()
|
||||||
{
|
{
|
||||||
++d->id_;
|
|
||||||
for(Buffer * b : allRelatives())
|
for(Buffer * b : allRelatives())
|
||||||
++(b->d->id_);
|
++(b->d->id_);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user