ui: Added another updateGeometry call to single file view to prevent white space at end and wrong scroll positions

This commit is contained in:
Eberhard Graether
2019-05-28 12:03:26 +02:00
parent e410548665
commit f2108084da
@@ -216,6 +216,9 @@ void QtCodeFileSingle::showContents()
{
m_area->show();
updateRefCount(m_area->getActiveLocationCount());
// Resizes the area to fix a bug where the area could be scrolled below the last line.
m_area->updateGeometry();
}
}