Debugger/BreakPointViewer.py

changeset 564
b3d966393ba9
parent 501
5c615a85241a
child 791
9ec2ac20e54e
equal deleted inserted replaced
563:e35d2cda9a74 564:b3d966393ba9
122 """ 122 """
123 if not index.isValid(): 123 if not index.isValid():
124 return 124 return
125 125
126 if selected: 126 if selected:
127 flags = QItemSelectionModel.SelectionFlags(\ 127 flags = QItemSelectionModel.SelectionFlags(
128 QItemSelectionModel.ClearAndSelect | QItemSelectionModel.Rows) 128 QItemSelectionModel.ClearAndSelect | QItemSelectionModel.Rows)
129 else: 129 else:
130 flags = QItemSelectionModel.SelectionFlags(\ 130 flags = QItemSelectionModel.SelectionFlags(
131 QItemSelectionModel.Deselect | QItemSelectionModel.Rows) 131 QItemSelectionModel.Deselect | QItemSelectionModel.Rows)
132 self.selectionModel().select(index, flags) 132 self.selectionModel().select(index, flags)
133 133
134 def __createPopupMenus(self): 134 def __createPopupMenus(self):
135 """ 135 """

eric ide

mercurial