mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
enshort constructions
This commit is contained in:
parent
c843e5b7c0
commit
4342796d1a
2 changed files with 4 additions and 9 deletions
|
|
@ -91,10 +91,9 @@ impl Tab {
|
|||
action_page_reload.clone(),
|
||||
action_update.clone(),
|
||||
// Options
|
||||
match gobject.selected_page() {
|
||||
Some(page) => Some(gobject.page_position(&page) + 1),
|
||||
None => None,
|
||||
},
|
||||
gobject
|
||||
.selected_page()
|
||||
.map(|page| gobject.page_position(&page) + 1),
|
||||
false,
|
||||
false,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue