Steps to reproduce:
1) Add 3 new instruments like below:
2) Select New2 and click "Remove"
3) click "Remove" again to remove New3
New3 is not removed and the following error is printed on the console:
...
File "/Users/rmcgurrin/sandbox/q/PyQlab/DictManagerView.enaml", line 48, in
clicked :: dictManager.remove_item(itemList.selected_item)
File "/Users/rmcgurrin/sandbox/q/PyQlab/DictManager.py", line 34, in remove_item
self.itemDict.pop(itemLabel)
KeyError: u'New2'
Steps to reproduce: 1) Add 3 new instruments like below:
2) Select New2 and click "Remove" 3) click "Remove" again to remove New3
New3 is not removed and the following error is printed on the console: ... File "/Users/rmcgurrin/sandbox/q/PyQlab/DictManagerView.enaml", line 48, in
clicked :: dictManager.remove_item(itemList.selected_item)
File "/Users/rmcgurrin/sandbox/q/PyQlab/DictManager.py", line 34, in remove_item
self.itemDict.pop(itemLabel)
KeyError: u'New2'
Expected Behavior: New3 should be removed