diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-11-16 23:46:45 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-11-16 23:46:45 +0100 |
commit | e0187c5308b1d228cb8a651fad97af097ad94d44 (patch) | |
tree | 2f88d99e2c28bcfc4b4f76b95d9ad2456f63e34a | |
parent | cea4b71ca3c422a220dae24ddb77fcbec4d7e1a9 (diff) |
history map: Do not show route for manually added journeys
-rwxr-xr-x | lib/Travelynx/Controller/Traveling.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |