mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
apply escape action to the current page only
This commit is contained in:
parent
04a34c91ca
commit
3fda9c851a
5 changed files with 75 additions and 14 deletions
|
|
@ -70,8 +70,8 @@ impl Browser {
|
|||
action.escape.connect_activate({
|
||||
let widget = widget.clone();
|
||||
let window = window.clone();
|
||||
move || {
|
||||
window.tab.escape(None); // current tab
|
||||
move |tab_item_id| {
|
||||
window.escape(tab_item_id);
|
||||
widget.application_window.set_focus(gtk::Window::NONE);
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue