Skip to content

Commit

Permalink
Resolve #7
Browse files Browse the repository at this point in the history
  • Loading branch information
nalvarez508 committed Mar 27, 2022
1 parent ebe891c commit af9f915
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/stationsarea.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ def __init__(self, parent, *args, **kwargs):
self.swapButton.grid(row=1, column=1, padx=12)

self.parent.imageArea.doRefresh(self.stations.returnCityState(self.origin.get()), 1)
#self.parent.doRefresh(self.stations.returnCityState(self.destination.get()), 2)
self.parent.imageArea.doRefresh(self.stations.returnCityState(self.destination.get()), 2)
#self.parent.startThread(self.parent.doRefresh, [self.stations.returnCityState(self.origin.get()), 1])
self.parent.startThread(self.parent.imageArea.doRefresh, [self.stations.returnCityState(self.destination.get()), 2])
#self.parent.startThread(self.parent.imageArea.doRefresh, [self.stations.returnCityState(self.destination.get()), 2])

def __swapStations(self):
"""Swaps the origin and destination, both Combobox objects and ImageArea labels."""
Expand Down

0 comments on commit af9f915

Please sign in to comment.