mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
remove extra selector
This commit is contained in:
parent
05bb81f6e0
commit
0a65d67989
1 changed files with 4 additions and 5 deletions
|
|
@ -52,13 +52,12 @@ impl Tab {
|
|||
// on menu open
|
||||
Some(this) => {
|
||||
let position = tab_view.page_position(this);
|
||||
if let Some(page) = widget.page(Some(position)) {
|
||||
if let Some(id) = page.keyword() {
|
||||
if let Some(item) = index.borrow().get(&id) {
|
||||
item.page.update(); // update window actions using page of tab activated
|
||||
}
|
||||
if let Some(id) = this.keyword() {
|
||||
if let Some(item) = index.borrow().get(&id) {
|
||||
item.page.update(); // update window actions using page of tab activated
|
||||
}
|
||||
}
|
||||
|
||||
Some(position) // activated tab
|
||||
}
|
||||
// on menu close
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue