Makes CPAlert above popovers

This commit is contained in:
Antoine Mercadal
2012-10-30 11:09:38 -07:00
parent c747a79db9
commit 0fa499bd61
+1
View File
@@ -595,6 +595,7 @@ CPCriticalAlertStyle = 2;
frame.size = [self currentValueForThemeAttribute:@"size"];
_window = [[CPWindow alloc] initWithContentRect:frame styleMask:forceStyle || _defaultWindowStyle];
[_window setLevel:CPStatusWindowLevel];
if (_title)
[_window setTitle:_title];