Skip to content

Commit

Permalink
fix widget of taskbar alert
Browse files Browse the repository at this point in the history
  • Loading branch information
Numerlor committed Aug 10, 2019
1 parent dc985f7 commit 3610d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3610d3c

Please sign in to comment.