summaryrefslogtreecommitdiff
path: root/src/mbgl/style/style.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/style.cpp')
-rw-r--r--src/mbgl/style/style.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/style/style.cpp b/src/mbgl/style/style.cpp
index e519238637..1c0d7f5395 100644
--- a/src/mbgl/style/style.cpp
+++ b/src/mbgl/style/style.cpp
@@ -105,6 +105,8 @@ void Style::setJSON(const std::string& json) {
observer->onResourceError(error);
return;
+ } else {
+ observer->onStyleLoaded();
}
for (auto& source : parser.sources) {