eric6/Debugger/BreakPointViewer.py

branch
maintenance
changeset 8142
43248bafe9b2
parent 8043
0acf98cd089a
parent 8105
eb3c1170c135
child 8176
31965986ecd1
equal deleted inserted replaced
8044:874fdd14d3a2 8142:43248bafe9b2
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