Browse Source

Fix file list expansion on singlefile torrent with folder.

adaptive-webui-19844
sledgehammer999 7 years ago
parent
commit
7b5730723d
No known key found for this signature in database
GPG Key ID: 6E4A2D025B7CC9A2
  1. 2
      src/gui/properties/propertieswidget.cpp

2
src/gui/properties/propertieswidget.cpp

@ -329,7 +329,7 @@ void PropertiesWidget::loadTorrentInfos(BitTorrent::TorrentHandle *const torrent @@ -329,7 +329,7 @@ void PropertiesWidget::loadTorrentInfos(BitTorrent::TorrentHandle *const torrent
// List files in torrent
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);
// Load file priorities

Loading…
Cancel
Save