From 8c5bc67dd0dc329636b8ac44d23d6d4fc6786a87 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sat, 15 Nov 2014 20:07:19 +0100 Subject: [PATCH] Recalculate geometry if data changed. --- qutebrowser/widgets/downloads.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qutebrowser/widgets/downloads.py b/qutebrowser/widgets/downloads.py index 5810da138..66aeb6076 100644 --- a/qutebrowser/widgets/downloads.py +++ b/qutebrowser/widgets/downloads.py @@ -88,6 +88,7 @@ class DownloadView(QListView): model = objreg.get('download-manager', scope='window', window=win_id) model.rowsInserted.connect(functools.partial(update_geometry, self)) model.rowsRemoved.connect(functools.partial(update_geometry, self)) + model.dataChanged.connect(functools.partial(update_geometry, self)) self.setModel(model) self.setWrapping(True) self.setContextMenuPolicy(Qt.CustomContextMenu)