mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
Handle the ReopenApplication event (by ignoring it).
This commit is contained in:
parent
54f3bdbfe1
commit
53ebe562f5
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,8 @@ class PythonIDE(Wapplication.Application):
|
|||
|
||||
AE.AEInstallEventHandler(AppleEvents.kCoreEventClass, AppleEvents.kAEOpenApplication,
|
||||
self.ignoreevent)
|
||||
AE.AEInstallEventHandler(AppleEvents.kCoreEventClass, AppleEvents.kAEReopenApplication,
|
||||
self.ignoreevent)
|
||||
AE.AEInstallEventHandler(AppleEvents.kCoreEventClass, AppleEvents.kAEPrintDocuments,
|
||||
self.ignoreevent)
|
||||
AE.AEInstallEventHandler(AppleEvents.kCoreEventClass, AppleEvents.kAEOpenDocuments,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue