Commit 886437ff authored by Bob Obara's avatar Bob Obara

BUG: Need to reconnect selectionChanged signal when setting DP Model

When the Qt View is given a Qt Model for a new Descritive Phrase Model, the selection model is also changed.
parent c45b9497
......@@ -138,4 +138,7 @@ void qtResourceBrowser::Internal::setDescriptivePhraseModel(QAbstractItemModel*
{
m_model = qmodel;
m_view->setModel(m_model);
QObject::connect(m_view->selectionModel(),
SIGNAL(selectionChanged(const QItemSelection&, const QItemSelection&)), m_self,
SLOT(sendPanelSelectionToSMTK(const QItemSelection&, const QItemSelection&)));
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment