[gnome-maps] placeFormatter: Use "name" as title for town results



commit 5743241ade6f0695e3743e9bb4eea8ef96c84d4f
Author: Marcus Lundblad <ml update uu se>
Date:   Thu Jun 18 22:43:08 2020 +0200

    placeFormatter: Use "name" as title for town results
    
    Fixes #276

 src/placeFormatter.js | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/src/placeFormatter.js b/src/placeFormatter.js
index 49291ec3..58dff6d1 100644
--- a/src/placeFormatter.js
+++ b/src/placeFormatter.js
@@ -85,9 +85,6 @@ var PlaceFormatter = class PlaceFormatter {
             break;
 
         case Geocode.PlaceType.TOWN:
-            if (this._place.town)
-                this._titleProperty = 'town';
-
             if (this._place.county)
                 this._addRow(['county']);
             else if (this._place.state)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]