summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewnotecard.cpp
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2014-04-10 12:36:12 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2014-04-10 12:36:12 +0300
commit8683c47615fefb6fe531ceca4bf428a0faf010c2 (patch)
treeffa312dbb52565b56594437e6bb6e96c77cfeb47 /indra/newview/llpreviewnotecard.cpp
parent83bd0625f058e0ca64deb3eaa4ccd87c09c4624f (diff)
MAINT-1695 FIXED Close floater after saving notecard.
Diffstat (limited to 'indra/newview/llpreviewnotecard.cpp')
-rwxr-xr-xindra/newview/llpreviewnotecard.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llpreviewnotecard.cpp b/indra/newview/llpreviewnotecard.cpp
index 3a9360fd23..61525bd560 100755
--- a/indra/newview/llpreviewnotecard.cpp
+++ b/indra/newview/llpreviewnotecard.cpp
@@ -476,12 +476,17 @@ bool LLPreviewNotecard::saveIfNeeded(LLInventoryItem* copyitem)
&onSaveComplete,
(void*)info,
FALSE);
+ return true;
}
else // !gAssetStorage
{
llwarns << "Not connected to an asset storage system." << llendl;
return false;
}
+ if(mCloseAfterSave)
+ {
+ closeFloater();
+ }
}
}
return true;