mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
fix a crash on resize
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7268 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
dcb9c3eabb
commit
7e5c4e7695
@ -1,3 +1,7 @@
|
||||
2003-07-14 Alfredo Braunstein <abraunst@libero.it>
|
||||
|
||||
* text2.C (init): fix a crash fired on resize
|
||||
|
||||
2003-07-11 Alfredo Braunstein <abraunst@libero.it>
|
||||
|
||||
* buffer.[Ch]: added new closing signal
|
||||
|
@ -88,11 +88,13 @@ void LyXText::init(BufferView * bview, bool reinit)
|
||||
rowlist_.clear();
|
||||
need_break_row = rows().end();
|
||||
width = height = 0;
|
||||
top_y(0);
|
||||
clearPaint();
|
||||
} else if (!rowlist_.empty())
|
||||
return;
|
||||
|
||||
anchor_row_ = rows().end();
|
||||
anchor_row_offset_ = 0;
|
||||
|
||||
ParagraphList::iterator pit = ownerParagraphs().begin();
|
||||
ParagraphList::iterator end = ownerParagraphs().end();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user