Thu, 10 Jan 2013 19:03:16 +0100
Fixed a little issue in ViewManager.py.
(grafted from 7706d05104c5d687224cc7a7154756397f4e055d)
ViewManager/ViewManager.py | file | annotate | diff | comparison | revisions |
--- a/ViewManager/ViewManager.py Tue Jan 08 19:14:45 2013 +0100 +++ b/ViewManager/ViewManager.py Thu Jan 10 19:03:16 2013 +0100 @@ -3953,14 +3953,14 @@ @param language language to display (string) @param eol eol indicator to display (string) """ - if fn is None: + if not fn: fn = '' - writ = ' ' + writ = ' ' else: if QFileInfo(fn).isWritable(): - writ = ' rw' + writ = 'rw' else: - writ = ' ro' + writ = 'ro' self.sbWritable.setText(writ) self.sbFile.setTextPath(QApplication.translate('ViewManager', 'File: {0}'), fn)