Fix missing connect of expanded signal.

This commit is contained in:
Florian Geyer 2012-04-27 18:42:24 +02:00 committed by Felix Geyer
parent 599d60270d
commit 84a9e397d2

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