[gnome-maps/wip/mlundblad/fix-transit-progress-after-error: 2/3] routingDelegator: Emit 'run' signal when starting search



commit 155a899dfd8d740cdd8ced785a52262e3dc12467
Author: Marcus Lundblad <ml update uu se>
Date:   Thu Apr 2 22:17:22 2020 +0200

    routingDelegator: Emit 'run' signal when starting search
    
    Emit the 'run' signal on query when starting search.

 src/routingDelegator.js | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/routingDelegator.js b/src/routingDelegator.js
index 37728c72..a3f71101 100644
--- a/src/routingDelegator.js
+++ b/src/routingDelegator.js
@@ -65,6 +65,7 @@ var RoutingDelegator = class RoutingDelegator {
 
     _onQueryChanged() {
         if (this._query.isValid()) {
+            this._query.emit('run');
             if (this._transitRouting) {
                 this._transitRouter.fetchFirstResults();
             } else {


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