InsetGraphicsMailer::string2params(cmd.argument, buffer, p);
if (!p.filename.empty()) {
setParams(p);
- cmd.view()->updateInset(this);
+ cmd.view()->update();
}
return DispatchResult(true, true);
}
void InsetGraphics::draw(PainterInfo & pi, int x, int y) const
{
+ xo_ = x;
+ yo_ = y;
graphic_->draw(pi, x, y);
}