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 authored and github-actions committed Jun 28, 2021
1 parent ea0c6e5 commit b5a6cdf134834c0fdc8f63a65f3693c9767d0843
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 b5a6cdf

Please sign in to comment.