diff --git a/hub.py b/hub.py index cf2af1da..666514da 100644 --- a/hub.py +++ b/hub.py @@ -86,7 +86,7 @@ def set_max_fuel(self, value): def fuel_alert(self): if self.visual_alert: - self.application.alert(self.centralwidget, 5000) + self.application.alert(self.main_window.centralwidget, 5000) if self.sound_alert: if self.sound_path: self.player.play()