This was test code and shouldn't have been committed

This commit is contained in:
Bruce Leidl 2019-04-02 16:12:05 -04:00
parent b38c7cb943
commit 3148825680
2 changed files with 0 additions and 9 deletions

View File

@ -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 { pub fn open_terminal() -> EventResult {
let title = "Open Terminal?"; let title = "Open Terminal?";
let msg = "Open terminal in realm '$REALM'?"; let msg = "Open terminal in realm '$REALM'?";

View File

@ -119,7 +119,6 @@ impl ItemListContent<Realm> for RealmListContent {
Event::Char('$') => RealmAction::open_shell(false), Event::Char('$') => RealmAction::open_shell(false),
Event::Char('#') => RealmAction::open_shell(true), Event::Char('#') => RealmAction::open_shell(true),
Event::Char('u') => RealmAction::update_realmfs(), Event::Char('u') => RealmAction::update_realmfs(),
Event::Char('x') => RealmAction::stop_events(),
Event::Char('.') => { Event::Char('.') => {
self.show_system_realms = !self.show_system_realms; self.show_system_realms = !self.show_system_realms;
EventResult::with_cb(|s| ItemList::<Realm>::call_reload("realms", s)) EventResult::with_cb(|s| ItemList::<Realm>::call_reload("realms", s))