phrack / ShootOFF-legacy

An open source framework to enhance laser dry fire training.
BSD 4-Clause "Original" or "Old" License
30 stars 17 forks source link

Raising or lowering a lone region on the target editor throws an exception. #39

Closed phrack closed 10 years ago

phrack commented 10 years ago

Exception in Tkinter callback Traceback (most recent call last): File "C:\Python27\lib\lib-tk\Tkinter.py", line 1470, in call return self.func(*args) File "C:\Users\Michael\Documents\ShootOFF\ShootOFF-github\target_editor.py", l ine 69, in send_backward self.reverse_regions(above, self._selected_region) File "C:\Users\Michael\Documents\ShootOFF\ShootOFF-github\target_editor.py", l ine 72, in reverse_regions r1 = self._regions.index(region1[0]) ValueError: 1 is not in list