mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
connect file open action
This commit is contained in:
parent
4c0200799b
commit
9fe6713bc8
3 changed files with 60 additions and 13 deletions
|
|
@ -303,6 +303,12 @@ impl Tab {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn open(&self, page_position: Option<i32>, request: &str, is_snap_history: bool) {
|
||||
if let Some(item) = self.item(page_position) {
|
||||
item.action.load.activate(Some(request), is_snap_history);
|
||||
}
|
||||
}
|
||||
|
||||
pub fn clean(
|
||||
&self,
|
||||
transaction: &Transaction,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue