On Wed, 2006-01-18 at 09:27 +0100, Anders Ekberg wrote:
> I just tried to submit the following bug:
> 
> The highlightning of the "Increase depth" and "Decrease depth" icons  
> is not consistent with the menu (on
> 1.4pre3, MacOSX 10.4.4):
> - open an empty document (article)
> - Choose Itemize paragraph style
> - Type the first line and enter: Increase list depth is now visible  
> in the Edit menu, but the "Increase depth"-
> icon is not highlighted.
> - do some more typing and enter and the problem remains
> - do a back-arrow to the second line (the third line disappears): the  
> "Increase depth"-icon is highlighted
> A (hopefully) possible fix would be to let the icon have the same  
> trigger as the menu-item.
> 
> and then recieved a Bug 2221 has been added to the database followed  
> by a gigantic error message starting with: Insufficient disk space;  
> try again later.
> 
> Does this mean the bug was actually added to bugzilla or not? It also  
> sent out e-mail messages according to the error report, so I guess  
> the report is not lost in cyberspace, but for the future it would be  
> good to know if I should wait a while before posting more reports  
> when I receive such a message.
> 
> Anders Ekberg

Bug confirmed, patch attached. OK to commit?

- Martin

Index: text3.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/text3.C,v
retrieving revision 1.323
diff -u -p -r1.323 text3.C
--- text3.C	31 Dec 2005 11:40:32 -0000	1.323
+++ text3.C	18 Jan 2006 10:42:10 -0000
@@ -1543,8 +1555,10 @@ void LyXText::dispatch(LCursor & cur, Fu
 	    && !sel
 	    && !cur.selection())
 		cur.noUpdate();
-	else
+	else {
+		bv->owner()->updateToolbars();
 		cur.needsUpdate();
+	}
 }
 
 

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to