summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelprofileclassifieds.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-05-06 23:03:32 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-05-06 23:03:32 +0300
commit3fcc1739663f939c6c67415f1d56b64c35a52a38 (patch)
tree4909e076d5056cf51df1ac20e926c063c3e187cd /indra/newview/llpanelprofileclassifieds.cpp
parentf655bb1f27fa637ef1889f8bb83bb0d74d645059 (diff)
Resolved merge conflict with SL-13587
Diffstat (limited to 'indra/newview/llpanelprofileclassifieds.cpp')
-rw-r--r--indra/newview/llpanelprofileclassifieds.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llpanelprofileclassifieds.cpp b/indra/newview/llpanelprofileclassifieds.cpp
index 7cc9406e08..4bc104c421 100644
--- a/indra/newview/llpanelprofileclassifieds.cpp
+++ b/indra/newview/llpanelprofileclassifieds.cpp
@@ -47,6 +47,7 @@
#include "llparcel.h"
#include "llregistry.h"
#include "llscrollcontainer.h"
+#include "llstartup.h"
#include "llstatusbar.h"
#include "lltabcontainer.h"
#include "lltexteditor.h"
@@ -82,6 +83,11 @@ public:
bool handle(const LLSD& params, const LLSD& query_map, LLMediaCtrl* web)
{
+ if (LLStartUp::getStartupState() < STATE_STARTED)
+ {
+ return true;
+ }
+
if (!LLUI::getInstance()->mSettingGroups["config"]->getBOOL("EnableClassifieds"))
{
LLNotificationsUtil::add("NoClassifieds", LLSD(), LLSD(), std::string("SwitchToStandardSkinAndQuit"));