mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-26 09:21:21 -05:00
Allow only selecting one row in AutoTypeSelectView.
This commit is contained in:
parent
ba7b787dd3
commit
40ccd219f4
@ -26,6 +26,7 @@ AutoTypeSelectView::AutoTypeSelectView(QWidget* parent)
|
|||||||
setMouseTracking(true);
|
setMouseTracking(true);
|
||||||
setAllColumnsShowFocus(true);
|
setAllColumnsShowFocus(true);
|
||||||
setDragEnabled(false);
|
setDragEnabled(false);
|
||||||
|
setSelectionMode(QAbstractItemView::SingleSelection);
|
||||||
|
|
||||||
connect(model(), SIGNAL(modelReset()), SLOT(selectFirstEntry()));
|
connect(model(), SIGNAL(modelReset()), SLOT(selectFirstEntry()));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user