Fix missing connect of collapsed signal.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user