--- a/Plugins/ViewManagerPlugins/Tabview/Tabview.py Mon Jan 01 19:24:24 2018 +0100 +++ b/Plugins/ViewManagerPlugins/Tabview/Tabview.py Mon Jan 01 19:30:23 2018 +0100 @@ -926,7 +926,7 @@ @type tuple of two int """ editor = win.getEditor() - if fn is None: + if not fn: if not noName: self.untitledCount += 1 noName = self.tr("Untitled {0}").format(self.untitledCount)