338 itm = self.model().item(self.currentIndex()) |
338 itm = self.model().item(self.currentIndex()) |
339 linenos = itm.linenos() |
339 linenos = itm.linenos() |
340 fileName = itm.fileName() |
340 fileName = itm.fileName() |
341 |
341 |
342 for lineno in sorted(linenos): |
342 for lineno in sorted(linenos): |
343 act = self.gotoMenu.addAction(str(lineno)) |
343 act = self.gotoMenu.addAction(self.trUtf8("Line {0}".format(lineno))) |
344 act.setData([fileName, lineno]) |
344 act.setData([fileName, lineno]) |
345 |
345 |
346 def _gotoAttribute(self, act): |
346 def _gotoAttribute(self, act): |
347 """ |
347 """ |
348 Protected slot to handle the selection of the goto menu. |
348 Protected slot to handle the selection of the goto menu. |