From b897c1ee48532388b6985a3fe4a220995b35d492 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Wed, 18 Sep 2013 23:19:57 +0300 Subject: One-liner. --- mesongui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesongui.py') diff --git a/mesongui.py b/mesongui.py index ee38583..4f9af8b 100755 --- a/mesongui.py +++ b/mesongui.py @@ -45,7 +45,7 @@ class PathModel(QAbstractItemModel): return 2 def headerData(self, section, orientation, role): - if section == '1': + if section == 1: return QVariant('Path') return QVariant('Type') -- cgit v1.1