summaryrefslogtreecommitdiffstats
path: root/pyanaconda/ui/gui/spokes/source.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyanaconda/ui/gui/spokes/source.py')
-rw-r--r--pyanaconda/ui/gui/spokes/source.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pyanaconda/ui/gui/spokes/source.py b/pyanaconda/ui/gui/spokes/source.py
index 87ebb898e..5751ca0ff 100644
--- a/pyanaconda/ui/gui/spokes/source.py
+++ b/pyanaconda/ui/gui/spokes/source.py
@@ -439,6 +439,11 @@ class SourceSpoke(NormalSpoke):
def apply(self):
import copy
+ # If askmethod was provided on the command line, entering the source
+ # spoke wipes that out.
+ if flags.askmethod:
+ flags.askmethod = False
+
old_source = copy.copy(self.data.method)
if self._autodetectButton.get_active():