mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
handle bookmark toggle action results
This commit is contained in:
parent
a0c52f2ede
commit
0b44303023
6 changed files with 42 additions and 11 deletions
|
|
@ -49,8 +49,12 @@ impl Window {
|
|||
|
||||
action.bookmark().connect_activate({
|
||||
let tab = tab.clone();
|
||||
move |position| tab.bookmark(position)
|
||||
}); // @TODO
|
||||
move |position| {
|
||||
if tab.bookmark(position).is_err() {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
action.pin().connect_activate({
|
||||
let tab = tab.clone();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue