diff options
author | Papoteur <papoteur@mageialinux-online.org> | 2015-06-27 06:47:58 +0200 |
---|---|---|
committer | Papoteur <papoteur@mageialinux-online.org> | 2015-06-27 06:47:58 +0200 |
commit | 0c888b6917e115036eed790f8a38e942494dcfa4 (patch) | |
tree | a3d0a69e7c2aa2aaee7f836765f137dcf459e024 | |
parent | 3d3ff2fe523adffa7480222ecf2c78e2ba0b9331 (diff) | |
download | usbdumper-0c888b6917e115036eed790f8a38e942494dcfa4.tar usbdumper-0c888b6917e115036eed790f8a38e942494dcfa4.tar.gz usbdumper-0c888b6917e115036eed790f8a38e942494dcfa4.tar.bz2 usbdumper-0c888b6917e115036eed790f8a38e942494dcfa4.tar.xz usbdumper-0c888b6917e115036eed790f8a38e942494dcfa4.zip |
-rw-r--r--[-rwxr-xr-x] | liveusb/gui.py | 9 |
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() |