Commits

Aleš Erjavec  committed c43d786

Changed edit triggers.

  • Participants
  • Parent commits e9a87e4

Comments (0)

Files changed (1)

File Orange/OrangeWidgets/Prototypes/OWGroupBy.py

         self.aggregate_view.setDragDropMode(QListView.DragDrop)
         self.aggregate_view.setItemDelegate(self.aggregate_delegate)
         self.aggregate_view.setModel(self.aggregate_list)
-        self.aggregate_view.setEditTriggers(QListView.SelectedClicked)
+        self.aggregate_view.setEditTriggers(QListView.DoubleClicked | QListView.EditKeyPressed)
 #        self.aggregate_view.setDragDropOverwriteMode(False)
         self.aggregate_view.setDefaultDropAction(Qt.MoveAction)
         self.aggregate_view.viewport().setAcceptDrops(True)