Skip to content
Permalink
Browse files

[processing] Respect application stylesheet in modeler/script editor …

…dialogs
  • Loading branch information
nyalldawson committed Aug 15, 2018
1 parent 4930061 commit a0b4e024bbb2bca98383e4a16ae466ff1746b64f
@@ -249,6 +249,8 @@ def __init__(self, model=None):

if iface is not None:
self.mToolbar.setIconSize(iface.iconSize())
self.setStyleSheet(iface.mainWindow().styleSheet())

self.mActionOpen.setIcon(
QgsApplication.getThemeIcon('/mActionFileOpen.svg'))
self.mActionSave.setIcon(
@@ -68,7 +68,9 @@ def __init__(self, filePath=None, parent=None):
self.editor.initLexer()
self.searchWidget.setVisible(False)

self.toolBar.setIconSize(iface.iconSize())
if iface is not None:
self.toolBar.setIconSize(iface.iconSize())
self.setStyleSheet(iface.mainWindow().styleSheet())

self.actionOpenScript.setIcon(
QgsApplication.getThemeIcon('/mActionScriptOpen.svg'))

0 comments on commit a0b4e02

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