We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae4a308 commit 97c58d2Copy full SHA for 97c58d2
lib/matplotlib/backends/qt4_editor/formlayout.py
@@ -271,7 +271,7 @@ def setup(self):
271
elif isinstance(value, (str, unicode)):
272
field = QLineEdit(value, self)
273
elif isinstance(value, (list, tuple)):
274
- selindex = value.pop(0)
+ selindex = list(value).pop(0)
275
field = QComboBox(self)
276
if isinstance(value[0], (list, tuple)):
277
keys = [ key for key, _val in value ]
0 commit comments