Skip to content

Commit

Permalink
Fix previous commit: Address #63 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroEzq committed Aug 28, 2024
1 parent 7f34e44 commit 0035bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/CAEN-N1471H/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def __init__(self, widget, text):
self.tooltip = None

self.widget.bind("<Enter>", lambda _: self.show_tooltip())
self.widget.bind("<Leave>", lambda _: self.show_tooltip())
self.widget.bind("<Leave>", lambda _: self.hide_tooltip())

def show_tooltip(self):
x = self.widget.winfo_rootx() + 20
Expand Down

0 comments on commit 0035bd2

Please sign in to comment.