mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-02 03:08:22 +00:00
Fix for closing an already not visible window causing app to break.
This commit is contained in:
1 parent
4c31b25110
commit
f4231dd890
1 file changed
+3
@@ -61,6 +61,9 @@
|
||||
|
||||
- (void)removeWindow:(CPWindow)aWindow
|
||||
{
|
||||
if (!aWindow._isVisible)
|
||||
return;
|
||||
|
||||
var index = aWindow._index,
|
||||
count = _windows.length - 1;
|
||||
|
||||
|
||||
Reference in new issue
Block a user