sdouglas/cadnano2 — Issue #13: Selection box missing when redoing after delete all
Author: leemi
Created: 2011-12-22 15:17:16+00:00
State: open

1. Create multiple strands.
2. Select all strands
3. Delete.
4. Undo until it's a blank document
5. Press and hold Ctrl+Shift+Z to redo

// Error: underlying C/C++ object has been deleted
Traceback (most recent call last):
File "c:/git/cadnano2/controllers/mayacontrollers/mayaSelectionContex.py", line 93, in selectionCallback
m.strandsSelected(helixList)
File "c:\git\cadnano2\controllers\mayacontrollers\mayaObjectManager.py", line 156, in strandsSelected
doc.win.pathroot.clearStrandSelections()
File "c:\git\cadnano2\views\pathview\pathrootitem.py", line 193, in clearStrandSelections
self._strandItemSelectionGroup.clearSelection(False)
File "c:\git\cadnano2\views\pathview\pathselection.py", line 237, in clearSelection
self.selectionbox.hide()
RuntimeError: underlying C/C++ object has been deleted //