Skip to content

Commit

Permalink
clear value when time button clicked
Browse files Browse the repository at this point in the history
  • Loading branch information
Hossein-Fazel committed Mar 27, 2024
1 parent 3bc64bf commit f28113f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 0 deletions.
Binary file modified __pycache__/Vehicle.cpython-312.pyc
Binary file not shown.
Binary file modified __pycache__/city.cpython-312.pyc
Binary file not shown.
Binary file modified __pycache__/map.cpython-312.pyc
Binary file not shown.
1 change: 1 addition & 0 deletions map.py
Original file line number Diff line number Diff line change
Expand Up @@ -950,6 +950,7 @@ def show_bc(self, path: save_direction, t1: Time): # Show best cost
self.show_clock(t1 + self.ct1.get_arrive_time_sp(path, t1))

def cal_bt(self): # Calculate best time
self.ui.value.clear()
t1 = Time(self.ui.T1.text())
path = self.ct1.find_best_time(self.ui.OR.text(), self.ui.DS.text(), t1)

Expand Down

0 comments on commit f28113f

Please sign in to comment.