Fill the paragraph metrics cache before checkInsetHit is called and asserts in getPitNearY. LyX asserts when the mouse is over the buffer when it is created. Only trunk and qt4.5 (?)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28908 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2009-03-25 20:40:43 +00:00
parent 301dc22240
commit 06cfe568bb

View File

@ -129,7 +129,7 @@ TextMetrics::TextMetrics(BufferView * bv, Text * text)
dim_.wid = max_width_;
dim_.asc = 10;
dim_.des = 10;
parMetrics(0, true);
//text_->updateLabels(bv->buffer());
}