[Idle-dev] CVS: idle WindowList.py,1.3,1.4

Kurt B. Kaiser kbk@users.sourceforge.net
Fri, 04 Oct 2002 14:54:43 -0700


Update of /cvsroot/idlefork/idle
In directory usw-pr-cvs1:/tmp/cvs-serv13975

Modified Files:
	WindowList.py 
Log Message:
Josh Robb's Patch
[ 617109 ] WindowList.py: fix win98 quit.


Index: WindowList.py
===================================================================
RCS file: /cvsroot/idlefork/idle/WindowList.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** WindowList.py	12 Jul 2001 05:35:17 -0000	1.3
--- WindowList.py	4 Oct 2002 21:54:41 -0000	1.4
***************
*** 68,71 ****
--- 68,75 ----
          registry.delete(self)
          Toplevel.destroy(self)
+         # If this is Idle's last window then quit the mainloop
+         # (Needed for clean exit on Windows 98)
+         if not registry.dict:
+             self.quit()
  
      def get_title(self):