remove extra referencers

This commit is contained in:
yggverse 2024-11-08 05:09:19 +02:00
parent 6d7277d831
commit a0e923eb7d
31 changed files with 43 additions and 48 deletions

View file

@ -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()
}
}