From 2ad4a5c09f8168aad70ad017943377cdce174a04 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Tue, 29 May 2007 14:54:02 +0000 Subject: * textw/network_text.py (NetworkDeviceWindow): Make sure the extra windows are removed when they need to be (patch from notting AT redhat DOT com, #241556). --- textw/network_text.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'textw') diff --git a/textw/network_text.py b/textw/network_text.py index bf0b9e216..9d987daf6 100644 --- a/textw/network_text.py +++ b/textw/network_text.py @@ -548,10 +548,13 @@ class NetworkDeviceWindow: devname = devList.current() if rc == TEXT_BACK_CHECK: + screen.popWindow() return INSTALL_BACK elif rc == TEXT_OK_CHECK: + screen.popWindow() return INSTALL_OK elif rc == TEXT_EDIT_CHECK: + screen.popWindow() return self.devices[devname] def __call__(self, screen, anaconda, showonboot=1): @@ -642,6 +645,7 @@ class NetworkDeviceWindow: if len(self.devices) == 1 and doConf is True: doConf = False + screen.popWindow() return INSTALL_OK -- cgit