eric6/Debugger/BreakPointViewer.py

changeset 8105
eb3c1170c135
parent 7923
91e843545d9a
child 8142
43248bafe9b2
child 8143
2c730d5fd177
equal deleted inserted replaced
8104:96e9348ff55f 8105:eb3c1170c135
269 269
270 @param index index of the entry that was double clicked 270 @param index index of the entry that was double clicked
271 @type QModelIndex 271 @type QModelIndex
272 """ 272 """
273 if index.isValid(): 273 if index.isValid():
274 self.__editBreakpoint(index) 274 sindex = self.__toSourceIndex(index)
275 bp = self.__model.getBreakPointByIndex(sindex)
276 if not bp:
277 return
278
279 fn, line = bp[:2]
280 self.sourceFile.emit(fn, line)
275 281
276 def __editBreak(self): 282 def __editBreak(self):
277 """ 283 """
278 Private slot to handle the edit breakpoint context menu entry. 284 Private slot to handle the edit breakpoint context menu entry.
279 """ 285 """

eric ide

mercurial