mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 09:11:03 +00:00
Don't try to draw arrow if image does not exist
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23486 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c06e564071
commit
5eef626c6b
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ static NSImage *arrowImage = nil; /* Cache arrow image. */
|
|||
{
|
||||
cellFrame = [self keyEquivalentRectForBounds: cellFrame];
|
||||
|
||||
if ([_menuItem hasSubmenu])
|
||||
if ([_menuItem hasSubmenu] && arrowImage != nil)
|
||||
{
|
||||
NSSize size;
|
||||
NSPoint position;
|
||||
|
|
Loading…
Reference in a new issue