[gnome-maps/gnome-3-36] openTripPlanner: Don't reset query points on failure
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/gnome-3-36] openTripPlanner: Don't reset query points on failure
- Date: Wed, 1 Apr 2020 19:09:27 +0000 (UTC)
commit 514b3875caa015204f20f2f6997ff5224d27e5cf
Author: Marcus Lundblad <ml update uu se>
Date: Wed Apr 1 20:15:06 2020 +0200
openTripPlanner: Don't reset query points on failure
Allows the user to re-try the same query with a
turn-by-turn mode.
src/transitplugins/openTripPlanner.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/transitplugins/openTripPlanner.js b/src/transitplugins/openTripPlanner.js
index 21954c24..468e7978 100644
--- a/src/transitplugins/openTripPlanner.js
+++ b/src/transitplugins/openTripPlanner.js
@@ -564,8 +564,7 @@ var OpenTripPlanner = class OpenTripPlanner {
this._extendPrevious = false;
this.plan.noMoreResults();
} else {
- this._reset();
- this.plan.noRouteFound();
+ this.plan.noRouteFound();re
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]