Skip to content

Commit

Permalink
make sure boxRoot isn't None
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhea authored and zadacka committed Oct 7, 2023
1 parent 8194865 commit 622bd64
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions easygui/boxes/base_boxes.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ def bindArrows(widget):


def tabRight(event):
boxRoot.event_generate("<Tab>")
if boxRoot:
boxRoot.event_generate("<Tab>")


def tabLeft(event):
boxRoot.event_generate("<Shift-Tab>")
if boxRoot:
boxRoot.event_generate("<Shift-Tab>")

0 comments on commit 622bd64

Please sign in to comment.