[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] Set initial state of IP configuration fields in text mode (#469933)



When performing a text mode install, call self._dhcpToggled()
before running the dialog so the initial state of the manual entry
fields matches the checkbox choices.
---
 textw/netconfig_text.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/textw/netconfig_text.py b/textw/netconfig_text.py
index 433f5d8..c5aba62 100644
--- a/textw/netconfig_text.py
+++ b/textw/netconfig_text.py
@@ -173,6 +173,7 @@ class NetworkConfiguratorText:
         # Call these functions to set initial UI state.
         self._ipv4Toggled()
         #self._ipv6Toggled()
+        self._dhcpToggled()
 
         netdevs = self.anaconda.id.network.available()
 
-- 
1.6.0.2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]