diff options
Diffstat (limited to 'menuitem.c')
-rw-r--r-- | menuitem.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -80,7 +80,7 @@ void cNopacityMenuItem::CreatePixmapTextScroller(int totalWidth) { } void cNopacityMenuItem::SetAlpha(int alpha) { - pixmapBackground->SetAlpha(alpha); + if (pixmapBackground) pixmapBackground->SetAlpha(alpha); if (pixmapForeground) pixmapForeground->SetAlpha(alpha); if (pixmapStatic) pixmapStatic->SetAlpha(alpha); if (pixmapTextScroller) pixmapTextScroller->SetAlpha(alpha); |