mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
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:
parent
301dc22240
commit
06cfe568bb
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user