aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--[-rwxr-xr-x]liveusb/gui.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/liveusb/gui.py b/liveusb/gui.py
index da85b9f..c531c1a 100755..100644
--- a/liveusb/gui.py
+++ b/liveusb/gui.py
@@ -256,10 +256,17 @@ class LiveUSBDialog(QtGui.QDialog, LiveUSBInterface):
"to the root of your drive (ie: C:\)"))
+ flag= False
if not self.live.is_hybrid(self.live.iso):
self.status(_("The selected iso isn't hybrid"))
- self.live.iso = None
+ r = QtGui.QMessageBox.warning(self, _("Warning"), _("The selected iso seems not to be hybrid. Do you want to use it?"), QtGui.QMessageBox.Ok | QtGui.QMessageBox.Cancel);
+ if(r == QtGui.QMessageBox.Cancel):
+ self.live.iso = None
+ else:
+ flag= True
else:
+ flag = True
+ if flag:
self.status("Iso " + _("selected"))
self.check_startbutton_state()