Allow only selecting one row in AutoTypeSelectView.

This commit is contained in:
Felix Geyer 2012-09-25 17:51:49 +02:00
parent ba7b787dd3
commit 40ccd219f4

View File

@ -26,6 +26,7 @@ AutoTypeSelectView::AutoTypeSelectView(QWidget* parent)
setMouseTracking(true);
setAllColumnsShowFocus(true);
setDragEnabled(false);
setSelectionMode(QAbstractItemView::SingleSelection);
connect(model(), SIGNAL(modelReset()), SLOT(selectFirstEntry()));
}