git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25221 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2008-04-27 20:23:50 +00:00
parent a1a5f1241f
commit 1f859c0470

View File

@ -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;