Skip to content

Commit 16bd6cd

Browse files
show warning message before formating disk
1 parent 461d8c9 commit 16bd6cd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

WoeUSB/gui.py

+6
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,12 @@ def on_refresh(self, __):
222222

223223
def on_install(self, __):
224224
global woe
225+
if wx.MessageBox(
226+
_("Are you sure? This will delete all your files and wipe out the selected partition."),
227+
_("Cancel"),
228+
wx.YES_NO | wx.ICON_QUESTION,
229+
self) == wx.NO:
230+
return
225231
if self.is_install_ok():
226232
is_iso = self.__isoChoice.GetValue()
227233

0 commit comments

Comments
 (0)