summaryrefslogtreecommitdiffstats
path: root/src/dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialog.cpp')
-rw-r--r--src/dialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dialog.cpp b/src/dialog.cpp
index fdf3d78..1d497d2 100644
--- a/src/dialog.cpp
+++ b/src/dialog.cpp
@@ -481,6 +481,7 @@ void Dialog::setListModel(QAbstractItemModel *model) {
old = ui->treeView->model();
}
ui->treeView->setModel(model);
+ ui->treeView->expandAll();
if (old != NULL) {
old->deleteLater();
}