diff options
author | rabite <rabite@posteo.de> | 2019-05-23 19:49:01 +0200 |
---|---|---|
committer | rabite <rabite@posteo.de> | 2019-05-23 19:49:01 +0200 |
commit | cdaacd1ca6300a037140c01cce1d788bebf9baee (patch) | |
tree | e6268833bf817018e6401dd251ea82d011ec7f7d /src/bookmarks.rs | |
parent | 6d43ce621de7ea82eadaf2806fbab3836bdade7e (diff) |
move methods from Widget trait to WidgetCore
Diffstat (limited to 'src/bookmarks.rs')
-rw-r--r-- | src/bookmarks.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bookmarks.rs b/src/bookmarks.rs index 326be7c..29a7b5c 100644 --- a/src/bookmarks.rs +++ b/src/bookmarks.rs @@ -102,7 +102,7 @@ impl BMPopup { err @ Err(HError::WidgetResizedError) => err?, err @ Err(_) => err?, } - self.clear()?; + self.get_core()?.clear()?; let bookmark = self.bookmark_path.take(); Ok(bookmark?) @@ -112,9 +112,9 @@ impl BMPopup { self.add_mode = true; self.bookmark_path = Some(path.to_string()); self.refresh()?; - self.clear()?; + self.get_core()?.clear()?; self.popup()?; - self.clear()?; + self.get_core()?.clear()?; Ok(()) } |