summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2002-02-11 06:41:18 +0000
committerJeremy Katz <katzj@redhat.com>2002-02-11 06:41:18 +0000
commitdaf9078c7e461a524a598a5b2b20f7497f1f0175 (patch)
tree30f654c02f4fab6895b3f2ab1a9cb3a5fc4d6af0
parent520ff4c6b80794c37a0d294f3d1d9b090a2c754d (diff)
downloadanaconda-daf9078c7e461a524a598a5b2b20f7497f1f0175.tar.gz
anaconda-daf9078c7e461a524a598a5b2b20f7497f1f0175.tar.xz
anaconda-daf9078c7e461a524a598a5b2b20f7497f1f0175.zip
fix editing the device on additional boot options to not think you have duplicate labels (#59588)
-rw-r--r--iw/bootloader_gui.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/iw/bootloader_gui.py b/iw/bootloader_gui.py
index cd7215000..42ff237dc 100644
--- a/iw/bootloader_gui.py
+++ b/iw/bootloader_gui.py
@@ -573,6 +573,11 @@ class AdvancedBootloaderWindow (InstallWindow):
else:
thisLabel = self.imagelist[key][0]
+ # if the label is the same as it used to be, they must
+ # have changed the device which is fine
+ if thisLabel == oldLabel:
+ continue
+
if thisLabel == label:
self.intf.messageWindow(_("Duplicate Label"),
_("This label is already in "