mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
#879 Fixed issue not being able to clear selection in multiselect list
This commit is contained in:
1 parent
e98fc23787
commit
87492726ce
1 file changed
+1
-1
@@ -290,7 +290,7 @@ void PdmUiListEditor::slotSelectionChanged(const QItemSelection & selected, cons
|
||||
{
|
||||
QModelIndexList idxList = m_listView->selectionModel()->selectedIndexes();
|
||||
|
||||
if (idxList.size() <= 1)
|
||||
if (idxList.size() == 1)
|
||||
{
|
||||
// NOTE : Workaround for update issue seen on RHEL6 with Qt 4.6.2
|
||||
// An invalid call to setSelection() from QAbstractItemView::keyPressEvent() causes the stepping using arrow keys
|
||||
|
||||
Reference in new issue
Block a user