I have a following situation: there is a tree simple tree view with some folder-like structure. Any object may be chosen from this view or not. If anything is chosen, then the dialog returns the chosen index's internal pointer and if nothing was chosen it should return None. Except it doesn't. Nothing was chosen, I click Accept in the dialog and some default item is returned which is not a thing I would like to get. I looked at selection mode and selection behaviour, but none seemed right. Could anyone help me on this?
-- Filip Gruszczyński _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
