Skip to content

Commit 5c0d2bf

Browse files
committed
Merge remote-tracking branch 'origin/v1.1.x'
2 parents d6ec786 + 97c58d2 commit 5c0d2bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/qt4_editor/formlayout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def setup(self):
273273
elif isinstance(value, (str, unicode)):
274274
field = QLineEdit(value, self)
275275
elif isinstance(value, (list, tuple)):
276-
selindex = value.pop(0)
276+
selindex = list(value).pop(0)
277277
field = QComboBox(self)
278278
if isinstance(value[0], (list, tuple)):
279279
keys = [ key for key, _val in value ]

0 commit comments

Comments
 (0)