diff --git a/WoeUSB/gui.py b/WoeUSB/gui.py index ef9194e..00e03b5 100644 --- a/WoeUSB/gui.py +++ b/WoeUSB/gui.py @@ -222,6 +222,12 @@ def on_refresh(self, __): def on_install(self, __): global woe + if wx.MessageBox( + _("Are you sure? This will delete all your files and wipe out the selected partition."), + _("Cancel"), + wx.YES_NO | wx.ICON_QUESTION, + self) == wx.NO: + return if self.is_install_ok(): is_iso = self.__isoChoice.GetValue()