[gnome-maps/wip/mlundblad/remove-contacts: 1/9] placeEntry: Don't need to explictly ignore contacts for completion




commit a1034888929f8d4dc92d9b8c8c7be9756ab614b8
Author: Marcus Lundblad <ml dfupdate se>
Date:   Thu Jun 23 22:41:47 2022 +0200

    placeEntry: Don't need to explictly ignore contacts for completion

 src/placeEntry.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/placeEntry.js b/src/placeEntry.js
index 853eb23e..74f9df97 100644
--- a/src/placeEntry.js
+++ b/src/placeEntry.js
@@ -186,8 +186,7 @@ export class PlaceEntry extends Gtk.SearchEntry {
         let place = model.get_value(iter, PlaceStore.Columns.PLACE);
         let type = model.get_value(iter, PlaceStore.Columns.TYPE);
 
-        if (type !== PlaceStore.PlaceType.CONTACT &&
-            type !== PlaceStore.PlaceType.RECENT_ROUTE ||
+        if (type !== PlaceStore.PlaceType.RECENT_ROUTE ||
             (!this._matchRoute && type === PlaceStore.PlaceType.RECENT_ROUTE))
             return false;
 


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