Changeset 19f2e869e093…
Parent fea1e7648084…
by
Changes to one file · Browse files at 19f2e869e093 Showing diff from parent fea1e7648084 Diff from another changeset...
@@ -210,7 +210,7 @@ if isinstance(w, int):
self.setColumnWidth(c, w)
elif w is not None:
- w = fontm.width(hglib.tounicode(w) + 'w')
+ w = fontm.width(hglib.tounicode(str(w)) + 'w')
self.setColumnWidth(c, w)
else:
w = self.sizeHintForColumn(c)
|
Loading...