[PyCrust-cvs] PyCrust editor.py,1.24,1.25
Brought to you by:
pobrien
|
From: <po...@us...> - 2003-04-07 18:18:55
|
Update of /cvsroot/pycrust/PyCrust
In directory sc8-pr-cvs1:/tmp/cvs-serv23278
Modified Files:
editor.py
Log Message:
Don't destroy the PyCrust tab.
Index: editor.py
===================================================================
RCS file: /cvsroot/pycrust/PyCrust/editor.py,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** editor.py 7 Apr 2003 18:15:46 -0000 1.24
--- editor.py 7 Apr 2003 18:18:45 -0000 1.25
***************
*** 294,298 ****
selection = self._notebook.GetSelection()
print "Destroy Selection:", selection
! if selection > -1:
if self._buffer:
del self._buffers[self._buffer.id]
--- 294,298 ----
selection = self._notebook.GetSelection()
print "Destroy Selection:", selection
! if selection > 0: # Don't destroy the PyCrust tab.
if self._buffer:
del self._buffers[self._buffer.id]
|