diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/navigation.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modules/navigation.rs b/src/modules/navigation.rs index 179a766..c4b3224 100644 --- a/src/modules/navigation.rs +++ b/src/modules/navigation.rs @@ -41,6 +41,11 @@ impl Navigation { } _ => (), } + + match self.target_name { + None => self.status = NavigationStatus::None, + _ => (), + } } pub fn give_target(&mut self, target_name : String) { |