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