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




commit 3f66c2ee02ddac551d1c4794fac617cc7ea8034e
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]