From e0187c5308b1d228cb8a651fad97af097ad94d44 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 16 Nov 2019 23:46:45 +0100 Subject: [PATCH] history map: Do not show route for manually added journeys --- lib/Travelynx/Controller/Traveling.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm index fee1e79..74f1e4d 100755 --- a/lib/Travelynx/Controller/Traveling.pm +++ b/lib/Travelynx/Controller/Traveling.pm @@ -437,7 +437,7 @@ sub map_history { my $from_index = first_index { $_ eq $journey->{from_name} } @route; my $to_index = first_index { $_ eq $journey->{to_name} } @route; - if ( $from_index == -1 or $to_index == -1 ) { + if ( $from_index == -1 or $to_index == -1 or $journey->{edited} == 0x3fff ) { next; }