diff options
Diffstat (limited to 'iw/profile_gui.py')
-rw-r--r-- | iw/profile_gui.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/iw/profile_gui.py b/iw/profile_gui.py index 8b289f8..4081e2e 100644 --- a/iw/profile_gui.py +++ b/iw/profile_gui.py @@ -41,6 +41,9 @@ class ProfileWindow(InstallWindow): self.anaconda.profile = button.get_property("label") # We need this for the USE flags subprocess.call(["eselect", "profile", "set", self.anaconda.profile]) + if self.anaconda.profile == None: + self.anaconda.intf.messageWindow(_("Select profile"), _("You must select a profile!")) + raise gui.StayOnScreen return None def getScreen(self, anaconda): |