Skip to content
Permalink
Browse files
[ui][processing] Fix broken enter key showing help instead of running…
… algorithm in history dialog
  • Loading branch information
nirvn committed Jun 28, 2021
1 parent 9076e64 commit a777ba8a2601e28d6b1c0cf6c7bbe7b0bb4240f2
Showing with 3 additions and 1 deletion.
  1. +3 −1 python/plugins/processing/gui/HistoryDialog.py
@@ -30,7 +30,7 @@
from qgis.gui import QgsGui, QgsHelp
from qgis.PyQt import uic
from qgis.PyQt.QtCore import Qt, QCoreApplication, QDate
from qgis.PyQt.QtWidgets import QAction, QPushButton, QDialogButtonBox, QStyle, QMessageBox, QFileDialog, QMenu, QTreeWidgetItem
from qgis.PyQt.QtWidgets import QAction, QPushButton, QDialogButtonBox, QStyle, QMessageBox, QFileDialog, QMenu, QTreeWidgetItem, QShortcut
from qgis.PyQt.QtGui import QIcon
from qgis.PyQt.Qsci import QsciScintilla

@@ -78,6 +78,8 @@ def __init__(self):

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)

self.clearButton.clicked.connect(self.clearLog)
self.saveButton.clicked.connect(self.saveLog)
self.helpButton.clicked.connect(self.openHelp)

0 comments on commit a777ba8

Please sign in to comment.