Hi guys,

reporting a very easy-to-fix bug in QmitkAbstractView.cpp, line 599:
d->m_DataNodeSelectionModel->select(QItemSelection(d->m_DataNodeItemModel->index(0,0), d->m_DataNodeItemModel->index(nodes.size() , 0)),
QItemSelectionModel::ClearAndSelect);

should be replaced with:
d->m_DataNodeSelectionModel->select(QItemSelection(d->m_DataNodeItemModel->index(0,0), d->m_DataNodeItemModel->index(nodes.size() /*- 1*/, 0)),
QItemSelectionModel::ClearAndSelect);

Hope no further explanations needed. It's just plain and simple bug. Please fix it without me going through bugreport->createbranch->pullrequest chain.

Rostislav.
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to