Simplify function call
This commit is contained in:
parent
8eaec4426b
commit
bc54184b13
2 changed files with 3 additions and 1 deletions
|
|
@ -485,7 +485,7 @@ impl Rooms {
|
|||
key!(Esc) => self.state = State::ShowList,
|
||||
key!(Enter) if editor.text() == *name => {
|
||||
self.euph_rooms.remove(name);
|
||||
self.vault.euph().room(name.clone()).delete();
|
||||
self.vault.euph().delete(name.clone());
|
||||
self.state = State::ShowList;
|
||||
}
|
||||
_ => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue