From 51bc67042e7623b01e7cb396d1772c653a50714c Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Fri, 21 Jan 2011 18:38:58 +0000 Subject: [PATCH] Fix possible filter list height problem --- src/mainwindow.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index a3797639b..e14aafaaf 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -237,9 +237,6 @@ MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindo readSettings(); properties->readSettings(); - // Limit status filters list height - transferListFilters->getStatusFilters()->updateHeight(); - if(!ui_locked) { if(pref.startMinimized()) showMinimized(); @@ -676,6 +673,10 @@ void MainWindow::on_actionAbout_triggered() { void MainWindow::showEvent(QShowEvent *e) { qDebug("** Show Event **"); + + // Update status filters list height + transferListFilters->getStatusFilters()->updateHeight(); + if(getCurrentTabWidget() == transferList) { properties->loadDynamicData(); }