mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-24 05:25:37 +00:00
Fix file list expansion on singlefile torrent with folder.
This commit is contained in:
parent
c6dfdf9135
commit
7b5730723d
@ -329,7 +329,7 @@ void PropertiesWidget::loadTorrentInfos(BitTorrent::TorrentHandle *const torrent
|
|||||||
|
|
||||||
// List files in torrent
|
// List files in torrent
|
||||||
PropListModel->model()->setupModelData(m_torrent->info());
|
PropListModel->model()->setupModelData(m_torrent->info());
|
||||||
if ((m_torrent->filesCount() > 1) && (PropListModel->model()->rowCount() == 1))
|
if (PropListModel->model()->rowCount() == 1)
|
||||||
m_ui->filesList->setExpanded(PropListModel->index(0, 0), true);
|
m_ui->filesList->setExpanded(PropListModel->index(0, 0), true);
|
||||||
|
|
||||||
// Load file priorities
|
// Load file priorities
|
||||||
|
Loading…
x
Reference in New Issue
Block a user