mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-14 12:48:18 +10:00
GUI: Check before closing
This commit is contained in:
@@ -293,7 +293,7 @@ class SysPatchFrame(wx.Frame):
|
||||
logging.error(f"Unsupported variant: {variant}")
|
||||
return
|
||||
|
||||
self.frame_modal.Close()
|
||||
self.frame_modal.Close() if self.frame_modal else None
|
||||
|
||||
dialog = wx.Dialog(self, title=self.title, size=(400, 200))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user