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 """ |