save is_attention session state

This commit is contained in:
yggverse 2024-11-11 16:53:06 +02:00
parent 8917d14908
commit 57cdc4cee9
4 changed files with 21 additions and 13 deletions

View file

@ -126,9 +126,6 @@ impl Tab {
),
));
// Apply tab attention request
item.widget().gobject().set_needs_attention(is_attention);
// Register dynamically created tab components in the HashMap index
self.index
.borrow_mut()
@ -311,6 +308,7 @@ impl Tab {
&self.widget.gobject().page_position(item.widget().gobject()),
&item.widget().gobject().is_pinned(),
&item.widget().gobject().is_selected(),
&item.widget().gobject().needs_attention(),
)?;
}
}