mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
update actions on tab reorder
This commit is contained in:
parent
116856086f
commit
b42a9e077d
1 changed files with 8 additions and 0 deletions
|
|
@ -99,6 +99,14 @@ impl Tab {
|
|||
}
|
||||
});
|
||||
|
||||
tab_view.connect_page_reordered({
|
||||
let window_action = window_action.clone();
|
||||
let index = index.clone();
|
||||
move |tab_view, tab_page, _| {
|
||||
update_actions(tab_view, Some(tab_page), &index, &window_action)
|
||||
}
|
||||
});
|
||||
|
||||
tab_view.connect_selected_page_notify({
|
||||
let window_action = window_action.clone();
|
||||
let index = index.clone();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue