[gnome-maps] osmEditDialog: Fix signal connection for type search results



commit 7ec5bc9778ff3555e5eb16e77ae1015931731121
Author: Marcus Lundblad <ml update uu se>
Date:   Thu Feb 22 23:20:13 2018 +0100

    osmEditDialog: Fix signal connection for type search results

 src/osmEditDialog.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/osmEditDialog.js b/src/osmEditDialog.js
index bbc36db..c4929e2 100644
--- a/src/osmEditDialog.js
+++ b/src/osmEditDialog.js
@@ -306,7 +306,9 @@ var OSMEditDialog = GObject.registerClass({
         this._typeSearch.can_focus = true;
 
         let typeSearchPopover = this._typeSearch.popover;
-        typeSearchPopover.connect('selected', () => this._onTypeSelected());
+        typeSearchPopover.connect('selected', (o, k, v, t) => {
+            this._onTypeSelected(o, k, v, t);
+        });
 
         this._cancellable = new Gio.Cancellable();
         this._cancellable.connect(() => this.response(Response.CANCELLED));


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