mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-21 14:09:22 +00:00
Fixed: an ivar was not being properly initialized in CPAlert.
This commit is contained in:
1 parent
aef19c3b13
commit
65d957f9f5
1 file changed
+1
-3
+1
-3
@@ -127,7 +127,7 @@ CPCriticalAlertStyle = 2;
|
||||
_alertStyle = CPWarningAlertStyle;
|
||||
_alertPanel = nil;
|
||||
_windowStyle = nil;
|
||||
_alertDidEndSelector = nil;
|
||||
_didEndSelector = nil;
|
||||
|
||||
_messageLabel = [[CPTextField alloc] initWithFrame:CGRectMakeZero()];
|
||||
_alertImageView = [[CPImageView alloc] initWithFrame:CGRectMakeZero()];
|
||||
@@ -252,8 +252,6 @@ CPCriticalAlertStyle = 2;
|
||||
- (void)setInformativeText:(CPString)informativeText
|
||||
{
|
||||
[_informativeLabel setStringValue:informativeText];
|
||||
// No need to call _layoutMessage - only the length of the messageText
|
||||
// can affect anything there.
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in new issue
Block a user