Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d6ec786 + 97c58d2 commit 5c0d2bfCopy full SHA for 5c0d2bf
1 file changed
lib/matplotlib/backends/qt4_editor/formlayout.py
@@ -273,7 +273,7 @@ def setup(self):
273
elif isinstance(value, (str, unicode)):
274
field = QLineEdit(value, self)
275
elif isinstance(value, (list, tuple)):
276
- selindex = value.pop(0)
+ selindex = list(value).pop(0)
277
field = QComboBox(self)
278
if isinstance(value[0], (list, tuple)):
279
keys = [ key for key, _val in value ]
0 commit comments