Changeset 1c627aeb3590…
Parent 469eb69b2546…
by
Changes to one file · Browse files at 1c627aeb3590 Showing diff from parent 469eb69b2546 Diff from another changeset...
@@ -251,7 +251,10 @@ # is re-sized according to the total widget size.
key = '%s/widget_width' % self.cfgname
widget_width, ok = QSettings().value(key).toInt()
- if self.resized and ok and widget_width:
+ if not ok:
+ widget_width = 0
+
+ if self.resized:
model = self.model()
vp_width = self.viewport().width()
total_width = stretch_col = 0
|
Loading...