Skip to content

Commit 06357dd

Browse files
committed
Fix problem with QSpinBox error in Processing dialog windows
This will cause QGIS to crash, when accessing Processing > Options items.
1 parent da4fe7e commit 06357dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/plugins/processing/gui/ConfigDialog.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def setModelData(self, editor, model, index):
230230
model.setData(index, editor.value(), Qt.EditRole)
231231

232232
def sizeHint(self, option, index):
233-
return QSpinBox().sizeHint()
233+
return QgsSpinBox().sizeHint()
234234

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

0 commit comments

Comments
 (0)