[gnome-maps] transitOptionsPanel: Reset date before time



commit a5937824267bc31fbfb7715a72b8dcada55aa196
Author: Marcus Lundblad <ml update uu se>
Date:   Sat Oct 12 10:29:29 2019 +0200

    transitOptionsPanel: Reset date before time
    
    When resetting to "leave now", reset date before
    time, as setting time will trigger the "points"
    signal on the query, and otherwise it will use
    the old date when fetching new journeys.

 src/transitOptionsPanel.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/transitOptionsPanel.js b/src/transitOptionsPanel.js
index e26ef15..3039b40 100644
--- a/src/transitOptionsPanel.js
+++ b/src/transitOptionsPanel.js
@@ -90,8 +90,8 @@ var TransitOptionsPanel = GObject.registerClass({
             this._transitTimeEntry.visible = false;
             this._transitDateButton.visible = false;
             this._query.arriveBy = false;
-            this._query.time = null;
             this._query.date = null;
+            this._query.time = null;
             this._timeSelected = null;
             this._dateSelected = null;
         } else {


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