Changeset cf485cb9587e…
Parent a10d04fe67d7…
by
Changes to one file · Browse files at cf485cb9587e Showing diff from parent a10d04fe67d7 Diff from another changeset...
@@ -617,9 +617,13 @@ self.rows = rows
def rowCount(self, parent):
+ if parent.isValid():
+ return 0 # no child
return len(self.rows)
def columnCount(self, parent):
+ if parent.isValid():
+ return 0 # no child
return len(self.headers)
def data(self, index, role):
|
Loading...