PCButton mouseMoved: check if ttWindow is not nil

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@21400 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Sergii Stoian 2005-07-02 23:09:42 +00:00
parent 48956cf88d
commit ff72db3c5c
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2005-07-03 Serg Stoyan <stoyan255@ukr.net>
* Library/PCButton: (mouseMoved:) check if ttWindow is not nil.
2005-07-01 Serg Stoyan <stoyan255@ukr.net>
* Resources/Preferences.gorm: Fixed name of preferences panel.

View file

@ -262,6 +262,11 @@
NSPoint origin;
// NSLog(@"mouseMoved");
if (ttWindow == nil)
{
return;
}
mouseLocation = [NSEvent mouseLocation];
origin = NSMakePoint(mouseLocation.x + 8,