Fix for mismatched Paused/Resume toggle labels

They were set backwards. Fixed.
This commit is contained in:
AltF4 2014-01-04 23:48:22 -07:00
parent 9df9559c9c
commit d29e77dc85

View File

@ -161,10 +161,10 @@ class Pinger:
def toggle_pause(self, widget, data=None):
if self.paused:
self.paused = False
self.pause_menu.set_label(play_label)
self.pause_menu.set_label(pause_label)
else:
self.paused = True
self.pause_menu.set_label(pause_label)
self.pause_menu.set_label(play_label)
def update_log_menu(self):
graph = ""