summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterurlentry.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2020-09-14 15:18:52 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2020-09-14 15:18:52 +0300
commita258e633f2e158e6981ab7d3e01a7a3b46242c10 (patch)
tree68b2670072d61bea5edb41791fd6b9d3ff0140c9 /indra/newview/llfloaterurlentry.cpp
parent5cceddbc359814f522e211467048ffa6d7d99c0d (diff)
SL-13937 FIXED 'Loading...' is constantly displayed when entering the URL on the 'Media URL' floater
Diffstat (limited to 'indra/newview/llfloaterurlentry.cpp')
-rw-r--r--indra/newview/llfloaterurlentry.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/indra/newview/llfloaterurlentry.cpp b/indra/newview/llfloaterurlentry.cpp
index f2efef0c33..63bce3d2eb 100644
--- a/indra/newview/llfloaterurlentry.cpp
+++ b/indra/newview/llfloaterurlentry.cpp
@@ -122,8 +122,7 @@ void LLFloaterURLEntry::headerFetchComplete(S32 status, const std::string& mime_
}
}
- // Decrement the cursor
- getWindow()->decBusyCount();
+
getChildView("loading_label")->setVisible( false);
closeFloater();
}
@@ -302,3 +301,9 @@ bool LLFloaterURLEntry::callback_clear_url_list(const LLSD& notification, const
}
return false;
}
+
+void LLFloaterURLEntry::onClose( bool app_quitting )
+{
+ // Decrement the cursor
+ getWindow()->decBusyCount();
+}