Skip to content

Commit

Permalink
enable extended selection mode for the list (CTRL and SHIFT behavior)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhrisca committed Mar 19, 2020
1 parent 02b6280 commit df40545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asammdf/gui/widgets/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)

self.setDragDropMode(QtWidgets.QAbstractItemView.InternalMove)
self.setSelectionMode(QtWidgets.QAbstractItemView.ContiguousSelection)
self.setSelectionMode(QtWidgets.QAbstractItemView.ExtendedSelection)
self.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
self.customContextMenuRequested.connect(self.open_menu)

Expand Down

0 comments on commit df40545

Please sign in to comment.