Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
bklebel committed Sep 17, 2020
1 parent ab64070 commit 2364f99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions measureSequences/qlistmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def headerData(section, orientation, role):
return "Sequence"
return "{}".format(section + 1)

def rowCount(self):
def rowCount(self, parent=QtCore.QModelIndex()):
return len(self.__sequence)

# def columnCount(self, parent):
Expand Down Expand Up @@ -255,7 +255,7 @@ def setData(self, index, value, role=QtCore.Qt.EditRole):
return True
return False

def rowCount(self):
def rowCount(self, parent=QtCore.QModelIndex()):
return len(self.__sequence)

@staticmethod
Expand Down

0 comments on commit 2364f99

Please sign in to comment.