diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2013-09-29 14:11:49 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2013-09-29 14:11:49 +0400 |
commit | d528b4c9bb2df88332c719481e62ba6a777f8ec9 (patch) | |
tree | 98a7369d23cb1870c36401be97c5bccc8833fd21 /intern | |
parent | 20053f495477f1df40ae2c0fed7159322d4df666 (diff) |
OSX: more descriptive comment
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemCocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index 588570c701b..684d4e1b832 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -1025,7 +1025,7 @@ GHOST_TSuccess GHOST_SystemCocoa::handleWindowEvent(GHOST_TEventType eventType, } switch (eventType) { case GHOST_kEventWindowClose: - // make sure index 1 exists and compare window adress + // check for index 1 and discard close for mainwindow as it would quit blender without dialog if ([windowsList count] > 1 && (window->get_m_window() != [windowsList objectAtIndex:1])) { pushEvent( new GHOST_Event(getMilliSeconds(), GHOST_kEventWindowClose, window) ); } |