mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fixup 999fb37e
: fix thinko
The current buffer is part of allRelatives(), contrary to what I thought. Therefore updateId() increased the buffer id by two.
This commit is contained in:
parent
53c8e0b77d
commit
2eb4e3d3ca
@ -803,7 +803,6 @@ int Buffer::id() const
|
||||
|
||||
void Buffer::updateId()
|
||||
{
|
||||
++d->id_;
|
||||
for(Buffer * b : allRelatives())
|
||||
++(b->d->id_);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user