From 3148825680e0e5b561b05a96eb4a1670976d1af3 Mon Sep 17 00:00:00 2001 From: Bruce Leidl Date: Tue, 2 Apr 2019 16:12:05 -0400 Subject: [PATCH] This was test code and shouldn't have been committed --- citadel-realms/src/realm/actions.rs | 8 -------- citadel-realms/src/realm/mod.rs | 1 - 2 files changed, 9 deletions(-) diff --git a/citadel-realms/src/realm/actions.rs b/citadel-realms/src/realm/actions.rs index fd84478..07e7a02 100644 --- a/citadel-realms/src/realm/actions.rs +++ b/citadel-realms/src/realm/actions.rs @@ -74,14 +74,6 @@ impl RealmAction { }) } - // XXX - pub fn stop_events() -> EventResult { - Self::action(|r| { - let manager = r.manager(); - manager.stop_event_task(); - }) - } - pub fn open_terminal() -> EventResult { let title = "Open Terminal?"; let msg = "Open terminal in realm '$REALM'?"; diff --git a/citadel-realms/src/realm/mod.rs b/citadel-realms/src/realm/mod.rs index 583be7a..7000829 100644 --- a/citadel-realms/src/realm/mod.rs +++ b/citadel-realms/src/realm/mod.rs @@ -119,7 +119,6 @@ impl ItemListContent for RealmListContent { Event::Char('$') => RealmAction::open_shell(false), Event::Char('#') => RealmAction::open_shell(true), Event::Char('u') => RealmAction::update_realmfs(), - Event::Char('x') => RealmAction::stop_events(), Event::Char('.') => { self.show_system_realms = !self.show_system_realms; EventResult::with_cb(|s| ItemList::::call_reload("realms", s))