GUI: Default to no for formatting

This commit is contained in:
Mykola Grymalyuk
2023-05-16 12:24:14 -06:00
parent 017d59f57d
commit 63ba8d4a16
2 changed files with 1 additions and 2 deletions

View File

@@ -215,7 +215,7 @@ class macOSInstallerFlashFrame(wx.Frame):
def on_select_disk(self, disk: dict, installer: dict) -> None:
answer = wx.MessageBox(f"Are you sure you want to erase '{disk['name']}'?\nAll data will be lost, this cannot be undone.", "Confirmation", wx.YES_NO | wx.ICON_QUESTION)
answer = wx.MessageBox(f"Are you sure you want to erase '{disk['name']}'?\nAll data will be lost, this cannot be undone.", "Confirmation", wx.YES_NO | wx.NO_DEFAULT | wx.ICON_QUESTION)
if answer != wx.YES:
return

View File

@@ -1084,7 +1084,6 @@ Hardware Information:
def _populate_fu_override(self, panel: wx.Panel) -> None:
gpu_combo_box: wx.ComboBox = None
index = 0
for child in panel.GetChildren():
if isinstance(child, wx.ComboBox):
gpu_combo_box = child