refresh proxy indication for all tabs on settings change, short local var names

This commit is contained in:
yggverse 2025-07-26 13:15:06 +03:00
parent 6d419f9234
commit 44661c5136
4 changed files with 88 additions and 61 deletions

View file

@ -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 {