Fix delayed painting

- Annotation and Image were not being painted
  immediately, but had to wait for a page
  refresh.
This commit is contained in:
wandererfan
2018-05-16 13:39:03 -04:00
parent 09f607c5fc
commit afdd30b137
5 changed files with 10 additions and 14 deletions

View File

@@ -121,9 +121,8 @@ void QGIViewImage::draw()
m_cliparea->setRect(newRect);
drawImage();
m_cliparea->centerAt(0.0,0.0);
if (borderVisible) {
drawBorder();
}
QGIView::draw();
}
void QGIViewImage::drawImage()