From d402a215678c8ca54e94832a2231b2eaceb070c6 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sat, 10 Jun 2023 13:19:33 +0200 Subject: Fix selection of persistance, adding the label. --- lib/isodumper.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/isodumper.py b/lib/isodumper.py index 01c825c..dbf44b8 100755 --- a/lib/isodumper.py +++ b/lib/isodumper.py @@ -1030,9 +1030,10 @@ exFAT, NTFS or ext. You can specify a volume name and the format in a new dialog self.interface_active_state() def select_partition_type(self): - if self.partition_cb.value() in ("ext4" ,"Persistent partition"): + print(f"Selected {self.partition_cb.value()}") + if self.partition_cb.value() in (_("ext4") ,_("Persistent partition")): self.cryptcb.setEnabled() - if self.partition_cb.value() == "Persistent partition": + if self.partition_cb.value() == _("Persistent partition"): self.partition_label.setValue("mgalive-persist") self.partition_cb.setValue('ext4') else: -- cgit v1.2.1