mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
remove extra referencers
This commit is contained in:
parent
6d7277d831
commit
a0e923eb7d
31 changed files with 43 additions and 48 deletions
|
|
@ -22,8 +22,7 @@ impl Reload {
|
|||
// Actions
|
||||
pub fn update(&self, is_enabled: bool) {
|
||||
// Update actions
|
||||
self.action_page_reload
|
||||
.set_enabled(is_enabled);
|
||||
self.action_page_reload.set_enabled(is_enabled);
|
||||
|
||||
// Update child components
|
||||
self.widget.update(is_enabled);
|
||||
|
|
@ -31,6 +30,6 @@ impl Reload {
|
|||
|
||||
// Getters
|
||||
pub fn gobject(&self) -> &Button {
|
||||
&self.widget.gobject()
|
||||
self.widget.gobject()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue