rsilva
8th May 2011, 14:36
I've noticed that while using QTreeWidget (subclassed), if my QTreeWidgetItem (subclassed) is "hidden" (a scrollbar preventing it to show) when I navigate holding the down key when the TreeWidget reach this item the selection go back to the first TreeWidget item. Why this happens ?
And the void currentItemChanged(QTreeWidgetItem* current, QTreeWidgetItem* previous) is called normally but with (current == 0).
Is there a way to avoid this ?
And the void currentItemChanged(QTreeWidgetItem* current, QTreeWidgetItem* previous) is called normally but with (current == 0).
Is there a way to avoid this ?