Hi, Sorry for my bad english and PyQt skill.<br>I am reading the book "Rapid GUI Programming with Python and Qt The Definitive Guide to PyQt Programming", my question is related to chap08/mymovies.pyw.<br>near the end of MainWindow.updateTable() there is <br>
if selected is not None:<br> selected.setSelected(True)<br> self.table.setCurrentItem(selected)<br> self.table.scrollToItem(selected)<br>what I want to ask is, what's the mean of "selected.setSelected(True)", isn't self.table.setCurrentItem(selected) enough here?<br>
Thank in advance for your reply.