Skip to content
Browse files

Fix problem with QSpinBox error in Processing dialog windows

This will cause QGIS to crash, when accessing Processing > Options
  • Loading branch information
saberraz committed Nov 26, 2015
1 parent da4fe7e commit 06357dd31ed86715db31d00e87c829f1047a5e0c
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/gui/
@@ -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'):

0 comments on commit 06357dd

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