Plugins/ViewManagerPlugins/Listspace/Listspace.py

changeset 6055
ab7128b76524
parent 6052
8b49d3e0b4c8
child 6072
059c8f981ef4
equal deleted inserted replaced
6053:c2d1566692d3 6055:ab7128b76524
424 @param indexes of the editor, first the split view index, second the 424 @param indexes of the editor, first the split view index, second the
425 index within the view 425 index within the view
426 @type tuple of two int 426 @type tuple of two int
427 """ 427 """
428 editor = win.getEditor() 428 editor = win.getEditor()
429 if fn is None: 429 if not fn:
430 if not noName: 430 if not noName:
431 self.untitledCount += 1 431 self.untitledCount += 1
432 noName = self.tr("Untitled {0}").format(self.untitledCount) 432 noName = self.tr("Untitled {0}").format(self.untitledCount)
433 self.viewlist.addItem(noName) 433 self.viewlist.addItem(noName)
434 editor.setNoName(noName) 434 editor.setNoName(noName)

eric ide

mercurial