diff options
author | andreykproductengine <akleshchev@productengine.com> | 2016-04-13 18:59:00 +0300 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2016-04-13 18:59:00 +0300 |
commit | eec33adf34db3fe0c32600808458e4307ede1bf0 (patch) | |
tree | 10919302c8706f061e02c97864ed4dbd13aa4fca /indra/newview/llfloatersnapshot.cpp | |
parent | 2311d8c2b200574a0fb38c80222a0f09ce984f67 (diff) |
MAINT-3286 FIXED Fix error message on snapshot save when user has no L$
Diffstat (limited to 'indra/newview/llfloatersnapshot.cpp')
-rwxr-xr-x | indra/newview/llfloatersnapshot.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/newview/llfloatersnapshot.cpp b/indra/newview/llfloatersnapshot.cpp index afec981d56..b906671c7f 100755 --- a/indra/newview/llfloatersnapshot.cpp +++ b/indra/newview/llfloatersnapshot.cpp @@ -1418,6 +1418,20 @@ void LLFloaterSnapshot::postPanelSwitch() } // static +void LLFloaterSnapshot::inventorySaveFailed() +{ + LLFloaterSnapshot* instance = findInstance(); + if (!instance) + { + llassert(instance != NULL); + return; + } + + instance->impl.updateControls(instance); + instance->impl.setStatus(Impl::STATUS_FINISHED, false, "inventory"); +} + +// static LLPointer<LLImageFormatted> LLFloaterSnapshot::getImageData() { // FIXME: May not work for textures. |