Browse Source

Prioritize dialog: add/remove criteria on double clicking an item

Signed-off-by: Sergey Zhuravlevich <[email protected]>
tags/4.1.0^2
Sergey Zhuravlevich 3 months ago
parent
commit
116ac18e13
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      qt/prioritize_dialog.py

+ 2
- 0
qt/prioritize_dialog.py View File

@@ -85,7 +85,9 @@ class PrioritizeDialog(QDialog):
self.model.view = self

self.addCriteriaButton.clicked.connect(self.model.add_selected)
self.criteriaListView.doubleClicked.connect(self.model.add_selected)
self.removeCriteriaButton.clicked.connect(self.model.remove_selected)
self.prioritizationListView.doubleClicked.connect(self.model.remove_selected)
self.buttonBox.accepted.connect(self.accept)
self.buttonBox.rejected.connect(self.reject)



Loading…
Cancel
Save