mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 04:38:20 +10:00
GUI: Default to no for formatting
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user