Fix missing connect of expanded signal.

This commit is contained in:
Florian Geyer authored and Felix Geyer committed 2012-04-28 21:43:23 +02:00
1 parent 599d60270d
commit 84a9e397d2
1 file changed
+1
+1
View File
@@ -36,6 +36,7 @@ GroupView::GroupView(Database* db, QWidget* parent)
SLOT(emitGroupChanged()));
recInitExpanded(db->rootGroup());
connect(this, SIGNAL(expanded(QModelIndex)), this, SLOT(expandedChanged(QModelIndex)));
setCurrentIndex(m_model->index(0, 0));
// invoke later so the EntryView is connected