Re: [PATCH][RFC] selection of items in ErrorList

2008-09-25 Thread Jean-Marc Lasgouttes
Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: After looking at what the converter selection code in prefs does, I came up with the following simple patch, which hooks on the currentRowChanged signal instead of itemSelectionChanged. It works perfectly for me (qt 4.2.3). However, before

Re: [PATCH][RFC] selection of items in ErrorList

2008-09-25 Thread rgheck
Jean-Marc Lasgouttes wrote: Jean-Marc Lasgouttes [EMAIL PROTECTED] writes: After looking at what the converter selection code in prefs does, I came up with the following simple patch, which hooks on the currentRowChanged signal instead of itemSelectionChanged. It works perfectly for me (qt

Re: [PATCH][RFC] selection of items in ErrorList

2008-09-25 Thread Jean-Marc Lasgouttes
rgheck [EMAIL PROTECTED] writes: I looked into this a bit, but came up with no answers. But here's a guess. Maybe it's like a key-press vs key-release thing, and itemSelectionChanged is being fired before the new row has actually been set (ie, when the old item is deselected), whereas

Re: [PATCH][RFC] selection of items in ErrorList

2008-09-25 Thread Jean-Marc Lasgouttes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > After looking at what the converter selection code in prefs does, I came > up with the following simple patch, which hooks on the currentRowChanged > signal instead of itemSelectionChanged. It works perfectly for me (qt > 4.2.3). > > However,

Re: [PATCH][RFC] selection of items in ErrorList

2008-09-25 Thread rgheck
Jean-Marc Lasgouttes wrote: Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: After looking at what the converter selection code in prefs does, I came up with the following simple patch, which hooks on the currentRowChanged signal instead of itemSelectionChanged. It works perfectly for me (qt

Re: [PATCH][RFC] selection of items in ErrorList

2008-09-25 Thread Jean-Marc Lasgouttes
rgheck <[EMAIL PROTECTED]> writes: > I looked into this a bit, but came up with no answers. But here's a > guess. Maybe it's like a key-press vs key-release thing, and > itemSelectionChanged is being fired before the new row has actually > been set (ie, when the old item is deselected), whereas >

[PATCH][RFC] selection of items in ErrorList

2008-09-24 Thread Jean-Marc Lasgouttes
I noticed that the errorlist (for chktex in this case) does not work at all like I intended. When I click on the items one by one, the description that appears does not match what I want. Instrumenting GuiErrorList::select() with lyxerr shows that the index used by this function does not match

[PATCH][RFC] selection of items in ErrorList

2008-09-24 Thread Jean-Marc Lasgouttes
I noticed that the errorlist (for chktex in this case) does not work at all like I intended. When I click on the items one by one, the description that appears does not match what I want. Instrumenting GuiErrorList::select() with lyxerr shows that the index used by this function does not match