Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
CSV Import - QAbstractTableModel has no reset method - modelReset replacement #440
Ran into the following traceback while importing a CSV file:
It turns out
class ChildTable(QAbstractTableModel): # [... other methods / members ...] def reset(self): self.beginResetModel() # unnecessary call to actually clear data, but recommended by design guidance from Qt docs # left blank in preliminary testing self.endResetModel()
Will try to submit a PR against this ticket.
Thanks for the catch. I had made the same fix during the Qt5 transition of dupeGuru, but it seems that I forgot about it this time. I didn't bother redefining