Browse Source

Focus transfer list on startup

The torrent list filter will be focused otherwise and its placeholder
text will be hidden on startup.
adaptive-webui-19844
Gabriele 10 years ago
parent
commit
ea1d7afdef
  1. 1
      src/mainwindow.cpp

1
src/mainwindow.cpp

@ -311,6 +311,7 @@ MainWindow::MainWindow(QWidget *parent, const QStringList& torrentCmdLine) : QMa
// Populate the transfer list // Populate the transfer list
transferList->getSourceModel()->populate(); transferList->getSourceModel()->populate();
transferList->setFocus();
// Update the number of torrents (tab) // Update the number of torrents (tab)
updateNbTorrents(); updateNbTorrents();

Loading…
Cancel
Save