summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatersnapshot.cpp
diff options
context:
space:
mode:
authorVadim ProductEngine <vsavchuk@productengine.com>2011-12-23 17:44:59 +0200
committerVadim ProductEngine <vsavchuk@productengine.com>2011-12-23 17:44:59 +0200
commit4c4543a464ff9e59909404983b5c4ebac71df3b2 (patch)
tree7efeedb276e51993af6f46f26e721383c28900b3 /indra/newview/llfloatersnapshot.cpp
parentf6281d0d869c7f7248edcac015d48ae09a82b7ff (diff)
EXP-1732 FIXED "Refresh to Save" message displayed in auto-refresh mode.
Diffstat (limited to 'indra/newview/llfloatersnapshot.cpp')
-rw-r--r--indra/newview/llfloatersnapshot.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llfloatersnapshot.cpp b/indra/newview/llfloatersnapshot.cpp
index 1b3290d5a8..1fac8624cc 100644
--- a/indra/newview/llfloatersnapshot.cpp
+++ b/indra/newview/llfloatersnapshot.cpp
@@ -1490,6 +1490,12 @@ void LLFloaterSnapshot::Impl::setNeedRefresh(LLFloaterSnapshot* floater, bool ne
{
if (!floater) return;
+ // Don't display the "Refresh to save" message if we're in auto-refresh mode.
+ if (gSavedSettings.getBOOL("AutoSnapshot"))
+ {
+ need = false;
+ }
+
floater->mRefreshLabel->setVisible(need);
floater->impl.mNeedRefresh = need;
}