Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 53ebe56

Browse files
committed
Handle the ReopenApplication event (by ignoring it).
1 parent 54f3bdb commit 53ebe56

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Mac/Tools/IDE/PythonIDEMain.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ def __init__(self):
1818

1919
AE.AEInstallEventHandler(AppleEvents.kCoreEventClass, AppleEvents.kAEOpenApplication,
2020
self.ignoreevent)
21+
AE.AEInstallEventHandler(AppleEvents.kCoreEventClass, AppleEvents.kAEReopenApplication,
22+
self.ignoreevent)
2123
AE.AEInstallEventHandler(AppleEvents.kCoreEventClass, AppleEvents.kAEPrintDocuments,
2224
self.ignoreevent)
2325
AE.AEInstallEventHandler(AppleEvents.kCoreEventClass, AppleEvents.kAEOpenDocuments,

0 commit comments

Comments
 (0)