mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-06-20 06:10:00 +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}")
|
logging.error(f"Unsupported variant: {variant}")
|
||||||
return
|
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))
|
dialog = wx.Dialog(self, title=self.title, size=(400, 200))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user