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

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