Fix double call of restore_input

restore_input is called in State::rcv_event on arrival of a fork
finished event:

```
            UIEvent::Fork(ForkType::Finished) => {
                self.switch_to_main_screen();
                self.switch_to_alternate_screen();
                self.context.restore_input();
                return;
            }
```

So there shouldn't be an extra call here.
async
Manos Pitsidianakis 2020-02-27 16:37:42 +02:00
parent c43f3564d3
commit 65666e6695
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
1 changed files with 0 additions and 1 deletions

View File

@ -934,7 +934,6 @@ impl Component for Composer {
}
}
self.initialized = false;
context.restore_input();
self.dirty = true;
return true;
}