mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[ui][processing] Also allow the enter key to launch the selected algorithm
This commit is contained in:
parent
b5f898f418
commit
24a61fafb1
@ -79,6 +79,7 @@ class HistoryDialog(BASE, WIDGET):
|
||||
self.tree.doubleClicked.connect(self.executeAlgorithm)
|
||||
self.tree.currentItemChanged.connect(self.changeText)
|
||||
shorcut = QShortcut(Qt.Key_Return, self.tree, context=Qt.WidgetShortcut, activated=self.executeAlgorithm)
|
||||
shorcut = QShortcut(Qt.Key_Enter, self.tree, context=Qt.WidgetShortcut, activated=self.executeAlgorithm)
|
||||
|
||||
self.clearButton.clicked.connect(self.clearLog)
|
||||
self.saveButton.clicked.connect(self.saveLog)
|
||||
|
Loading…
x
Reference in New Issue
Block a user