do closeterm better

This commit is contained in:
Chris Jones 2008-06-14 02:37:01 +01:00
parent db9ee84f8f
commit 4fb935d189

View File

@ -1443,7 +1443,7 @@ class Terminator:
if self._zoomed:
# We are zoomed, pop back out to normal layout before closing
dbg ("closeterm function called while in zoomed mode. Restoring previous layout before closing.")
self.unzoom_term (widget)
self.toggle_zoom(widget, not self._maximised)
if self.remove(widget):
widget.destroy ()