aboutsummaryrefslogtreecommitdiffstats
path: root/lib/isodumper.py
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2023-05-31 10:10:38 +0200
committerPapoteur <papoteur@mageia.org>2023-05-31 10:10:50 +0200
commit27280d7c8830d9e7dcf8c57ed0bb99544fee8915 (patch)
treefa12726357217020548f7931716128b540e3a176 /lib/isodumper.py
parent5dc1cae506be49bfb3c48b56a56ca667437a7f17 (diff)
downloadisodumper-27280d7c8830d9e7dcf8c57ed0bb99544fee8915.tar
isodumper-27280d7c8830d9e7dcf8c57ed0bb99544fee8915.tar.gz
isodumper-27280d7c8830d9e7dcf8c57ed0bb99544fee8915.tar.bz2
isodumper-27280d7c8830d9e7dcf8c57ed0bb99544fee8915.tar.xz
isodumper-27280d7c8830d9e7dcf8c57ed0bb99544fee8915.zip
Fix examination more than one device when selected (mga#31978)
Diffstat (limited to 'lib/isodumper.py')
-rwxr-xr-xlib/isodumper.py4
1 files changed, 3 insertions, 1 deletions
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)