Fix for mismatched Paused/Resume toggle labels
They were set backwards. Fixed.
This commit is contained in:
parent
9df9559c9c
commit
d29e77dc85
|
@ -161,10 +161,10 @@ class Pinger:
|
||||||
def toggle_pause(self, widget, data=None):
|
def toggle_pause(self, widget, data=None):
|
||||||
if self.paused:
|
if self.paused:
|
||||||
self.paused = False
|
self.paused = False
|
||||||
self.pause_menu.set_label(play_label)
|
self.pause_menu.set_label(pause_label)
|
||||||
else:
|
else:
|
||||||
self.paused = True
|
self.paused = True
|
||||||
self.pause_menu.set_label(pause_label)
|
self.pause_menu.set_label(play_label)
|
||||||
|
|
||||||
def update_log_menu(self):
|
def update_log_menu(self):
|
||||||
graph = ""
|
graph = ""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user