diff --git a/src/gui/GroupView.cpp b/src/gui/GroupView.cpp index 5e312c9a..32621ce9 100644 --- a/src/gui/GroupView.cpp +++ b/src/gui/GroupView.cpp @@ -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