Icon outline setting was ignored if no background image found
Might have been the cause behind #10019.
This commit is contained in:
parent
1336892c8b
commit
478d9536a6
@ -98,16 +98,13 @@ BackgroundImage::GetBackgroundImage(const BNode* node, bool isDesktop)
|
||||
if (container.FindString(kBackgroundImageInfoPath, index, &path)
|
||||
== B_OK) {
|
||||
bitmap = BTranslationUtils::GetBitmap(path);
|
||||
if (!bitmap) {
|
||||
if (!bitmap)
|
||||
PRINT(("failed to load background bitmap from path\n"));
|
||||
continue;
|
||||
}
|
||||
} else
|
||||
break;
|
||||
|
||||
if (be_control_look != NULL && isDesktop) {
|
||||
if (be_control_look != NULL && isDesktop)
|
||||
be_control_look->SetBackgroundInfo(container);
|
||||
}
|
||||
|
||||
container.FindInt32(kBackgroundImageInfoWorkspaces, index,
|
||||
(int32*)&workspaces);
|
||||
|
Loading…
Reference in New Issue
Block a user