Added a sort of hack which allows BPictureButton not to hang the app. Strangely, dereferencing a NULL pointer hangs the app instead of crashing it
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15793 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a5e82db05a
commit
8e64a82404
|
@ -3026,7 +3026,9 @@ BView::EndPicture()
|
|||
}
|
||||
}
|
||||
|
||||
return NULL;
|
||||
// TODO: Was NULL. We might revert when there is BPictures support
|
||||
// in the app-server. For now this allows to avoid hangs with BPictureButtons
|
||||
return cpicture;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue