Skip to content
Permalink
Browse files

[processing] harmonize results viewer action behavior

  • Loading branch information
nirvn committed Feb 13, 2018
1 parent a1a4553 commit 1994c4464488cd8cefb322b84a4aff740e661e24
Showing with 6 additions and 5 deletions.
  1. +6 −5 python/plugins/processing/ProcessingPlugin.py
@@ -211,14 +211,15 @@ def initGui(self):
self.menu.addAction(self.historyAction)
self.toolbox.processingToolbar.addAction(self.historyAction)

self.resultsAction = self.resultsDock.toggleViewAction()
self.resultsAction.setObjectName('resultsAction')
self.resultsAction.setIcon(
QgsApplication.getThemeIcon("/processingResult.svg"))
self.resultsAction.setText(self.tr('&Results Viewer'))
self.resultsAction = QAction(
QgsApplication.getThemeIcon("/processingResult.svg"),
self.tr('&Results Viewer'), self.iface.mainWindow())
self.resultsAction.setCheckable(True)
self.iface.registerMainWindowAction(self.resultsAction, 'Ctrl+Alt+R')
self.menu.addAction(self.resultsAction)
self.toolbox.processingToolbar.addAction(self.resultsAction)
self.resultsDock.visibilityChanged.connect(self.resultsAction.setChecked)
self.resultsAction.toggled.connect(self.resultsDock.setUserVisible)

self.optionsAction = QAction(
QgsApplication.getThemeIcon("/mActionOptions.svg"),

0 comments on commit 1994c44

Please sign in to comment.
You can’t perform that action at this time.