mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
fix active page reset
This commit is contained in:
parent
b443d1c58e
commit
710093b161
5 changed files with 37 additions and 19 deletions
|
|
@ -27,6 +27,9 @@ impl Action {
|
|||
Self { group, simple }
|
||||
}
|
||||
|
||||
/// Stateful constructors useful for actions that require custom values
|
||||
/// but could not receive it directly with action argument
|
||||
/// e.g. [MenuModel](https://docs.gtk.org/gio/class.MenuModel.html)
|
||||
pub fn new_stateful(
|
||||
group: &str,
|
||||
is_enabled: bool,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue