fixes bug #2169
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25221 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a1a5f1241f
commit
1f859c0470
@ -602,7 +602,8 @@ BackgroundsView::Save()
|
||||
|
||||
if (fCurrentInfo != NULL) {
|
||||
if (fWorkspaceMenu->FindItem(kMsgCurrentWorkspace)->IsMarked()) {
|
||||
if (fCurrentInfo->fWorkspace != workspaceMask) {
|
||||
if (fCurrentInfo->fWorkspace & workspaceMask
|
||||
&& fCurrentInfo->fWorkspace != workspaceMask) {
|
||||
fCurrentInfo->fWorkspace = fCurrentInfo->fWorkspace
|
||||
^ workspaceMask;
|
||||
if (fLastImageIndex > -1) {
|
||||
@ -612,7 +613,7 @@ BackgroundsView::Save()
|
||||
fCurrentInfo->fCacheMode);
|
||||
fCurrent->Add(fCurrentInfo);
|
||||
}
|
||||
} else {
|
||||
} else if (fCurrentInfo->fWorkspace == workspaceMask) {
|
||||
if (fLastImageIndex > -1) {
|
||||
fCurrentInfo->fTextWidgetLabelOutline =
|
||||
textWidgetLabelOutline;
|
||||
|
Loading…
Reference in New Issue
Block a user