mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
refresh proxy indication for all tabs on settings change, short local var names
This commit is contained in:
parent
6d419f9234
commit
44661c5136
4 changed files with 88 additions and 61 deletions
|
|
@ -358,6 +358,10 @@ impl Tab {
|
|||
// @TODO other/child features..
|
||||
}
|
||||
|
||||
pub fn items(&self) -> Vec<Rc<Item>> {
|
||||
self.index.borrow().values().cloned().collect()
|
||||
}
|
||||
|
||||
/// Find `Item` by `TabPage` position in HashMap `index`
|
||||
fn item(&self, page_position: Option<i32>) -> Option<Rc<Item>> {
|
||||
match page_position {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue