Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] cast setting size value to int
fixes #16347
  • Loading branch information
volaya committed Apr 4, 2017
1 parent 439b9de commit 84897e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/ScriptEditorDialog.py
Expand Up @@ -72,7 +72,7 @@ def __init__(self, algType, alg):
self.restoreState(settings.value("/Processing/stateScriptEditor", QByteArray()))
self.restoreGeometry(settings.value("/Processing/geometryScriptEditor", QByteArray()))

iconSize = settings.value("iconsize", 24)
iconSize = int(settings.value("iconsize", 24))
self.toolBar.setIconSize(QSize(iconSize, iconSize))

self.actionOpenScript.setIcon(
Expand Down

0 comments on commit 84897e3

Please sign in to comment.