Browse Source

Fix possible filter list height problem

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
51bc67042e
  1. 7
      src/mainwindow.cpp

7
src/mainwindow.cpp

@ -237,9 +237,6 @@ MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindo @@ -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() { @@ -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();
}

Loading…
Cancel
Save