summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterperms.cpp
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2020-02-24 17:26:16 +0200
committermaxim_productengine <mnikolenko@productengine.com>2020-02-24 17:26:16 +0200
commit08b75b5ee72518ae423be0838ace61a148d4bb7a (patch)
tree3b1c7b1b0fbf54e3dc786a89f0e220f2dbbc7345 /indra/newview/llfloaterperms.cpp
parentd8b47149aab3e87ef2f1360dce356286e54d2d76 (diff)
SL-12733 FIXED Default Creation Permissions for Objects is ignored after a relog
Diffstat (limited to 'indra/newview/llfloaterperms.cpp')
-rw-r--r--indra/newview/llfloaterperms.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llfloaterperms.cpp b/indra/newview/llfloaterperms.cpp
index 2281ea1496..528632a866 100644
--- a/indra/newview/llfloaterperms.cpp
+++ b/indra/newview/llfloaterperms.cpp
@@ -177,7 +177,6 @@ void LLFloaterPermsDefault::sendInitialPerms()
if(!mCapSent)
{
updateCap();
- setCapSent(true);
}
}
@@ -239,7 +238,7 @@ void LLFloaterPermsDefault::updateCapCoro(std::string url)
{
const std::string& reason = status.toString();
// Do not display the same error more than once in a row
- if (reason != previousReason)
+ if ((reason != previousReason) && mCapSent)
{
previousReason = reason;
LLSD args;