don't create a NSColorPanel just to close it
This commit is contained in:
parent
ff5510a3fc
commit
575a57525c
|
@ -156,7 +156,8 @@
|
||||||
|
|
||||||
- (void) addRemoveGroup: (id) sender
|
- (void) addRemoveGroup: (id) sender
|
||||||
{
|
{
|
||||||
[[NSColorPanel sharedColorPanel] close];
|
if ([NSColorPanel sharedColorPanelExists])
|
||||||
|
[[NSColorPanel sharedColorPanel] close];
|
||||||
|
|
||||||
NSInteger row;
|
NSInteger row;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue