hopefully the dock amount-completed badging is more consistent
This commit is contained in:
parent
a283f4ffad
commit
f4439ee4bf
|
@ -173,8 +173,10 @@
|
||||||
//update dock badge
|
//update dock badge
|
||||||
if (baseChange || fSpeedBadge || speedChange)
|
if (baseChange || fSpeedBadge || speedChange)
|
||||||
{
|
{
|
||||||
[NSApp setApplicationIconImage: dockIcon ? dockIcon : fDockIcon];
|
//copy to avoid badge not being cleared
|
||||||
if (dockIcon)
|
if (!dockIcon)
|
||||||
|
dockIcon = [fDockIcon copy];
|
||||||
|
[NSApp setApplicationIconImage: dockIcon];
|
||||||
[dockIcon release];
|
[dockIcon release];
|
||||||
|
|
||||||
fSpeedBadge = speedChange;
|
fSpeedBadge = speedChange;
|
||||||
|
|
Loading…
Reference in New Issue