mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
b8cad4ca9d
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2386 a592a061-630c-0410-9148-cb99ea01b6c8
26 lines
452 B
C
26 lines
452 B
C
#include <config.h>
|
|
|
|
#ifdef __GNUG__
|
|
#pragma implementation
|
|
#endif
|
|
|
|
#include "UpdateInset.h"
|
|
#include "BufferView.h"
|
|
#include "support/LAssert.h"
|
|
|
|
void UpdateInset::push(Inset * inset) {
|
|
lyx::Assert(inset);
|
|
insetqueue.push(inset);
|
|
}
|
|
|
|
void UpdateInset::update(BufferView * bv)
|
|
{
|
|
while (!insetqueue.empty()) {
|
|
Inset * inset = insetqueue.front();
|
|
insetqueue.pop();
|
|
bv->updateInset(inset, false); // "false" because no document change
|
|
}
|
|
}
|
|
|
|
|