Commit b2164d0d authored by Bob Obara's avatar Bob Obara Committed by Kitware Robot

Merge topic 'fixingSelectionWithChangingPhraseModel'

886437ff BUG: Need to reconnect selectionChanged signal when setting DP Model
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: David Thompson's avatarDavid Thompson <david.thompson@kitware.com>
Merge-request: !2271
parents c45b9497 886437ff
......@@ -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