summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-11-16 23:46:45 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-11-16 23:46:45 +0100
commite0187c5308b1d228cb8a651fad97af097ad94d44 (patch)
tree2f88d99e2c28bcfc4b4f76b95d9ad2456f63e34a
parentcea4b71ca3c422a220dae24ddb77fcbec4d7e1a9 (diff)
history map: Do not show route for manually added journeys
-rwxr-xr-xlib/Travelynx/Controller/Traveling.pm2
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;
}