Advertisement
Guest User

Untitled

a guest
Apr 24th, 2020
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. def update_cars(self, cars_list):
  2.     count = self.carsToolBox.count()
  3.     for row in range(count):
  4.         del self.carsToolBox.widget(0)
  5.         self.carsToolBox.removeItem(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement