[gnome-maps/wip/mlundblad/handle-osm-urls: 4/8] placeBubble: Don't load Overpass data when pre-filled
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mlundblad/handle-osm-urls: 4/8] placeBubble: Don't load Overpass data when pre-filled
- Date: Thu, 27 Jun 2019 21:08:10 +0000 (UTC)
commit f783f1dced6e25765b152a329ff29a9c088bf63d
Author: Marcus Lundblad <ml update uu se>
Date: Thu Jun 27 21:35:18 2019 +0200
placeBubble: Don't load Overpass data when pre-filled
Don't add Overpass data for places that are pre-filled.
src/placeBubble.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/placeBubble.js b/src/placeBubble.js
index 720fbbb..19e4082 100644
--- a/src/placeBubble.js
+++ b/src/placeBubble.js
@@ -101,7 +101,7 @@ var PlaceBubble = GObject.registerClass({
let place = Application.placeStore.get(this.place);
this._populate(place);
}
- } else if (this.place.store) {
+ } else if (this.place.store && !this.place.prefilled) {
overpass.addInfo(this.place);
} else {
this._populate(this.place);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]