mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
Make sure the root folder is expanded in Torrent content panel
This commit is contained in:
@@ -259,6 +259,7 @@ void PropertiesWidget::loadTorrentInfos(const QTorrentHandle &_h) {
|
|||||||
loadUrlSeeds();
|
loadUrlSeeds();
|
||||||
// List files in torrent
|
// List files in torrent
|
||||||
PropListModel->model()->setupModelData(h.get_torrent_info());
|
PropListModel->model()->setupModelData(h.get_torrent_info());
|
||||||
|
filesList->setExpanded(PropListModel->index(0, 0), true);
|
||||||
}
|
}
|
||||||
} catch(invalid_handle& e) {
|
} catch(invalid_handle& e) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user