diff --git a/Documentation/ChangeLog b/Documentation/ChangeLog index fcb9a51..7c02328 100644 --- a/Documentation/ChangeLog +++ b/Documentation/ChangeLog @@ -1,3 +1,7 @@ +2005-07-03 Serg Stoyan + + * Library/PCButton: (mouseMoved:) check if ttWindow is not nil. + 2005-07-01 Serg Stoyan * Resources/Preferences.gorm: Fixed name of preferences panel. diff --git a/Library/PCButton.m b/Library/PCButton.m index eab9ca4..852f039 100644 --- a/Library/PCButton.m +++ b/Library/PCButton.m @@ -262,6 +262,11 @@ NSPoint origin; // NSLog(@"mouseMoved"); + if (ttWindow == nil) + { + return; + } + mouseLocation = [NSEvent mouseLocation]; origin = NSMakePoint(mouseLocation.x + 8,