From 27280d7c8830d9e7dcf8c57ed0bb99544fee8915 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Wed, 31 May 2023 10:10:38 +0200 Subject: Fix examination more than one device when selected (mga#31978) --- lib/isodumper.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/isodumper.py b/lib/isodumper.py index 076c529..f8d9171 100755 --- a/lib/isodumper.py +++ b/lib/isodumper.py @@ -257,8 +257,10 @@ class IsoDumper(basedialog.BaseDialog): def device_selected(self): selitem = self.devicelist.selectedItem() + logging.debug(f"Selected a device") if selitem is not None: self.dev = selitem.label() + logging.debug(f"Selected {self.dev}") if self.dev != "": for name, path, size in self.list: if self.dev == self.device_label(name, path, size): @@ -285,7 +287,7 @@ class IsoDumper(basedialog.BaseDialog): self.write_cbox.setEnabled() self.write_cbox.setChecked(False) self.cryptcb.setChecked(False) - break + break else: self.partition_cbox.setDisabled() self.partition_cbox.setChecked(False) -- cgit v1.2.1