[PyQt] Re: QTableWidget.selectRow() not always highlighting selected row.

Kerri Reno kreno at yumaed.org
Mon Jul 6 18:10:01 BST 2009


This is a repost - I'm hoping someone can help me, or let me know what I
need to do to get help.

THANKS!
Kerri

On Tue, Jun 30, 2009 at 2:12 PM, Kerri Reno <kreno at yumaed.org> wrote:

> Attached is a reproducible example of my problem.  It simulates a table
> with 10 existing rows, and the user has clicked on an 'Add New' button (not
> shown).  The UI added a new line to the table.  If I then click on a
> different line, the UI asks if I want to abort my add.  When I say 'No', the
> code does a selectRow, to get back to the newly added row, but the row that
> I clicked on still shows as highlighted, even though currentRow shows the
> last, newly added row.  I believe the newly added row should now be
> highlighted, but I can't seem to make that happen.
>
> I hope this makes sense.  I know it's a bit convoluted, but hopefully when
> you run the app it will make more sense.
>
> Is this a bug?  Or am I missing something?  Anything you can do to help
> would be sincerely appreciated.
>
> TIA,
> Kerri
>
> --
> Yuma Educational Computer Consortium
> Compass Development Team
> Kerri Reno
> kreno at yumaed.org      (928) 502-4240
> .·:*¨¨*:·.   .·:*¨¨*:·.   .·:*¨¨*:·.
>



-- 
Yuma Educational Computer Consortium
Compass Development Team
Kerri Reno
kreno at yumaed.org      (928) 502-4240
.·:*¨¨*:·.   .·:*¨¨*:·.   .·:*¨¨*:·.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090706/d13801c7/attachment.html


More information about the PyQt mailing list