[PATCH rhel7-branch master] Default the OK button on the iscsi dialog to insensitive.

Chris Lumens clumens at redhat.com
Tue Aug 12 17:50:29 UTC 2014


The idea here is that the button is insensitive until after the user has
logged in, to prevent them from hitting OK without ever having added any
iscsi targets to the installation.

Resolves: rhbz#975823
---
 pyanaconda/ui/gui/spokes/advstorage/iscsi.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/pyanaconda/ui/gui/spokes/advstorage/iscsi.py b/pyanaconda/ui/gui/spokes/advstorage/iscsi.py
index 987b0eb..90a1444 100644
--- a/pyanaconda/ui/gui/spokes/advstorage/iscsi.py
+++ b/pyanaconda/ui/gui/spokes/advstorage/iscsi.py
@@ -234,7 +234,6 @@ class ISCSIDialog(GUIObject):
             # that subscreen.
             self._add_nodes(self._discoveredNodes)
             self._iscsiNotebook.set_current_page(1)
-            self._okButton.set_sensitive(True)
 
             # If some form of login credentials were used for discovery,
             # default to using the same for login.
-- 
1.9.3



More information about the anaconda-patches mailing list