1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 04:54:18 +00:00

Make sure the root folder is expanded in Torrent content panel

This commit is contained in:
Christophe Dumez 2012-07-02 19:27:39 +03:00
parent d5aaa24ad6
commit b095a1e3fe

View File

@ -259,6 +259,7 @@ void PropertiesWidget::loadTorrentInfos(const QTorrentHandle &_h) {
loadUrlSeeds();
// List files in torrent
PropListModel->model()->setupModelData(h.get_torrent_info());
filesList->setExpanded(PropListModel->index(0, 0), true);
}
} catch(invalid_handle& e) {