aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/isodumper.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py
index 0766cc9..f66461f 100755
--- a/lib/isodumper.py
+++ b/lib/isodumper.py
@@ -211,7 +211,9 @@ class IsoDumper(object):
self.progress.setValue(0)
self.progress.setDisabled()
self.refreshbt.setEnabled()
+ self.persistencecb.setChecked(False)
self.persistencecb.setDisabled()
+ self.cryptcb.setChecked(False)
self.cryptcb.setDisabled()
self.cryptkey.setDisabled()
@@ -348,7 +350,10 @@ class IsoDumper(object):
self.logger(_("No key for encrypted partition provided. Adding the partition aborted."))
else:
iface.do_persistence(target,"mgalive-persist",self.cryptkey.value())
- self.logger(_("Added encrypted persistent partition"))
+ if iface.state:
+ self.logger(_("Added encrypted persistent partition"))
+ else:
+ self.logger(iface.message)
else:
iface.do_persistence(target,"mgalive-persist", "")
self.logger(_("Added persistent partition"))