Sorry, I meant QTreeWidget as well. I'm using Qt 4.2 and PyQt4.1.1. I
was using Qt 4.1 and PyQt 4.0.1. I checked around in the QT 4.2 change
logs, I could find anything but you never know. Was just wondering if
anyone else noticed this.
-Matt
Phil Thompson wrote:
On Wednesday 07 February 2007 1:55 am, Matt Chambers wrote:
Using PyQt4.1.1
When I remove an item from a QTableWidget, it automatically resets the
scrollbar to the top.
def removeItem(self,item)
self.takeTopLevelItem(self.indexOfTopLevelItem(item))
It works properly with PyQt 4.0.1. Looked around for properties that
would affect this, couldn't find anything.
You need to say what version of Qt you are using as that is the most likely
cause of any change in behaviour. Going back to an earlier version of PyQt
built against the same version of Qt is unlikely to make any difference.
Phil
_______________________________________________
PyKDE mailing list [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde