Debugger/BreakPointViewer.py

branch
5_2_x
changeset 1997
e7627587db30
parent 1995
11f09fe72991
child 1998
7fc24c26f58f
equal deleted inserted replaced
1995:11f09fe72991 1997:e7627587db30
63 @param reference to the breakpoint model (BreakPointModel) 63 @param reference to the breakpoint model (BreakPointModel)
64 """ 64 """
65 self.__model = model 65 self.__model = model
66 66
67 self.sortingModel = QSortFilterProxyModel() 67 self.sortingModel = QSortFilterProxyModel()
68 self.sortingModel.setDynamicSortFilter(True)
69 self.sortingModel.setSourceModel(self.__model) 68 self.sortingModel.setSourceModel(self.__model)
70 super().setModel(self.sortingModel) 69 super().setModel(self.sortingModel)
71 70
72 header = self.header() 71 header = self.header()
73 header.setSortIndicator(0, Qt.AscendingOrder) 72 header.setSortIndicator(0, Qt.AscendingOrder)

eric ide

mercurial