Use the new split pane's navigation history when cloning an item
This commit is contained in:
parent
88bfe5acb0
commit
b506db7c93
6 changed files with 67 additions and 34 deletions
|
@ -149,6 +149,10 @@ impl Pane {
|
|||
}
|
||||
}
|
||||
|
||||
pub(crate) fn nav_history(&self) -> &Rc<RefCell<NavHistory>> {
|
||||
&self.nav_history
|
||||
}
|
||||
|
||||
pub fn activate(&self, cx: &mut ViewContext<Self>) {
|
||||
cx.emit(Event::Activate);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue