Abdelrazak Younes wrote:

> Alfredo Braunstein wrote:
>> Alfredo Braunstein wrote:
>> 
>> 
>>>>> Ouch! Confirmed on WinXP too! Please fill-it in.
>>> What's the exact recipe? I cannot reproduce here (linux)
>> 
>> Humm, I mean I cannot reproduce with trunk. Sorry for not being able to
>> read. :-/
> 
> I am able to reproduce with trunk too:
> 1) Open a document
> 2) Click on the "insert figure float" button.
> 3) Move out of the float with the right arrow key
> 4) Backspace (the float is deleted)
> 5) Click again of the same button -> BOOM!
> 
> Abdel.

Can you check if the attached solves it?

A/


Index: insets/InsetText.cpp
===================================================================
--- insets/InsetText.cpp	(revision 19785)
+++ insets/InsetText.cpp	(working copy)
@@ -80,7 +80,7 @@
 
 
 InsetText::InsetText(BufferParams const & bp)
-	: drawFrame_(false), frame_color_(Color::insetframe)
+	: drawFrame_(false), frame_color_(Color::insetframe), wide_inset_(false)
 {
 	paragraphs().push_back(Paragraph());
 	paragraphs().back().layout(bp.getTextClass().defaultLayout());

Reply via email to