- Fixed Backgrounds Tracker add-on. I have no idea how some people seem to not
be able toreproduce it before. - Don't try to access methods in a NULL object. :) - This fixex bug #1128. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27153 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -360,11 +360,12 @@ BackgroundsView::MessageReceived(BMessage *msg)
|
||||
fImageMenu->FindItem(kMsgNoImage)->SetLabel("None");
|
||||
fLastWorkspaceIndex = fWorkspaceMenu->IndexOf(
|
||||
fWorkspaceMenu->FindMarked());
|
||||
if (!fCurrent->IsDesktop()) {
|
||||
if (fCurrent && fCurrent->IsDesktop()) {
|
||||
UpdateButtons();
|
||||
} else {
|
||||
fPreview->SetDesktop(true);
|
||||
LoadDesktopFolder();
|
||||
} else
|
||||
UpdateButtons();
|
||||
}
|
||||
break;
|
||||
|
||||
case kMsgDefaultFolder:
|
||||
|
||||
Reference in New Issue
Block a user