mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
connect file open action
This commit is contained in:
parent
4c0200799b
commit
9fe6713bc8
3 changed files with 60 additions and 13 deletions
|
|
@ -126,6 +126,13 @@ impl Window {
|
|||
}
|
||||
});
|
||||
|
||||
action.open.on_activate({
|
||||
let tab = tab.clone();
|
||||
move |position, request| {
|
||||
tab.open(position, &request, true);
|
||||
}
|
||||
});
|
||||
|
||||
// Init struct
|
||||
Self { action, tab, g_box }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue