Skip to content

Commit

Permalink
Merge pull request #2504 from saberraz/master
Browse files Browse the repository at this point in the history
Fix problem with QSpinBox error in Processing dialog windows, fixes #13884
  • Loading branch information
volaya committed Nov 26, 2015
2 parents 114b04e + 06357dd commit 5387fd1
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 5387fd1

Please sign in to comment.