Fix missing connect of collapsed signal.

This commit is contained in:
Florian Geyer 2012-04-28 22:50:30 +02:00
parent 272da8c99c
commit 4968292a05

View File

@ -37,6 +37,7 @@ GroupView::GroupView(Database* db, QWidget* parent)
recInitExpanded(db->rootGroup());
connect(this, SIGNAL(expanded(QModelIndex)), this, SLOT(expandedChanged(QModelIndex)));
connect(this, SIGNAL(collapsed(QModelIndex)), this, SLOT(expandedChanged(QModelIndex)));
setCurrentIndex(m_model->index(0, 0));
// invoke later so the EntryView is connected