Browse Source

Make sure the root folder is expanded in Torrent content panel

adaptive-webui-19844
Christophe Dumez 13 years ago
parent
commit
b095a1e3fe
  1. 1
      src/properties/propertieswidget.cpp

1
src/properties/propertieswidget.cpp

@ -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) {

Loading…
Cancel
Save