Slicer: 2145-support-for-installing-extension-from-file a1a2ffd0

Author Committer Branch Timestamp Parent
finetjul finetjul 2145-support-for-installing-extension-from-file 2013-02-15 11:35:35 2145-support-for-installing-extension-from-file bfae4f54
Changeset

BUG: Fix default color on first color picker dialog opening

The problem was due to the color list view that was selecting the first
color in the list on focus.
(see QAbstractItemView::focusInEvent).
By setting the current index to invalid, it prevents focusInEvent to
select the first index.
Closes 0002956

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21710 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Libs/MRML/Widgets/qMRMLColorListView.cxx Diff File