Skip to content

Commit

Permalink
[processing] properly size toolbar button for provider actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jan 26, 2018
1 parent f4f89bb commit 6d5dce2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions python/plugins/processing/ProcessingPlugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,6 @@ def initGui(self):
self.optionsAction.triggered.connect(self.openProcessingOptions)
self.toolbox.processingToolbar.addAction(self.optionsAction)

self.toolbox.processingToolbar.setIconSize(self.iface.iconSize(True))

menuBar = self.iface.mainWindow().menuBar()
menuBar.insertMenu(
self.iface.firstRightStandardMenu().menuAction(), self.menu)
Expand Down
1 change: 1 addition & 0 deletions python/plugins/processing/gui/ProcessingToolbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def __init__(self):
self.tipWasClosed = False
self.setupUi(self)
self.setAllowedAreas(Qt.LeftDockWidgetArea | Qt.RightDockWidgetArea)
self.processingToolbar.setIconSize(iface.iconSize(True))

self.searchBox.textChanged.connect(self.textChanged)
self.algorithmTree.customContextMenuRequested.connect(
Expand Down

0 comments on commit 6d5dce2

Please sign in to comment.