Skip to content

Commit

Permalink
Fix problem with QSpinBox error in Processing dialog windows
Browse files Browse the repository at this point in the history
This will cause QGIS to crash, when accessing Processing > Options
items.
  • Loading branch information
saberraz committed Nov 26, 2015
1 parent da4fe7e commit 06357dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/gui/ConfigDialog.py
Expand Up @@ -230,7 +230,7 @@ def setModelData(self, editor, model, index):
model.setData(index, editor.value(), Qt.EditRole)

def sizeHint(self, option, index):
return QSpinBox().sizeHint()
return QgsSpinBox().sizeHint()

def eventFilter(self, editor, event):
if event.type() == QEvent.FocusOut and hasattr(editor, 'canFocusOut'):
Expand Down

0 comments on commit 06357dd

Please sign in to comment.