summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-05-02 10:44:04 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-05-03 08:30:02 -0700
commit6c7730ee7c2d9e63df526965bb511b2f43ee82b7 (patch)
treef41e06949307f41143708826bca7e6d873fdff12 /src
parentb8b9978b69c5e35de83efc0143141da695338240 (diff)
downloadqtlocation-mapboxgl-6c7730ee7c2d9e63df526965bb511b2f43ee82b7.tar.gz
[core] No need to Update::Classes after removing a layer
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/map/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp
index 493c7378cd..46ccc7216e 100644
--- a/src/mbgl/map/map.cpp
+++ b/src/mbgl/map/map.cpp
@@ -947,7 +947,7 @@ std::unique_ptr<Layer> Map::removeLayer(const std::string& id) {
BackendScope guard(impl->backend);
auto removedLayer = impl->style->removeLayer(id);
- impl->onUpdate(Update::Classes);
+ impl->onUpdate(Update::Repaint);
return removedLayer;
}