don't create a NSColorPanel just to close it

This commit is contained in:
Mitchell Livingston 2012-01-02 21:47:14 +00:00
parent ff5510a3fc
commit 575a57525c
1 changed files with 2 additions and 1 deletions

View File

@ -156,6 +156,7 @@
- (void) addRemoveGroup: (id) sender
{
if ([NSColorPanel sharedColorPanelExists])
[[NSColorPanel sharedColorPanel] close];
NSInteger row;