Hey Rostislav, I can also have a look on that. I am currently inspecting your
pull request 75. If there are no further implications due to the changed code,
I will merge it asap.
Michael
Von: Rostislav Khlebnikov [mailto:[email protected]]
Gesendet: Mittwoch, 27. August 2014 23:06
An: mitk-users
Betreff: [mitk-users] FireNodesSelected bug
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