mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-09-07 12:21:48 +00:00
update actions on tab reorder
This commit is contained in:
parent
116856086f
commit
b42a9e077d
@ -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…
x
Reference in New Issue
Block a user