connect file open action

This commit is contained in:
yggverse 2025-02-15 13:30:51 +02:00
parent 4c0200799b
commit 9fe6713bc8
3 changed files with 60 additions and 13 deletions

View file

@ -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,