mirror of
https://github.com/corpnewt/ProperTree.git
synced 2026-08-13 06:41:00 +04:00
Remove redundant binding
This commit is contained in:
@@ -605,7 +605,6 @@ class PlistWindow(tk.Toplevel):
|
||||
# Bind right click
|
||||
if str(sys.platform) == "darwin":
|
||||
self._tree.bind("<ButtonRelease-2>", self.popup) # ButtonRelease-2 on mac
|
||||
self._tree.bind("<ButtonRelease-3>", self.popup) # ButtonRelease-3 on mac
|
||||
self._tree.bind("<Control-ButtonRelease-1>", self.popup) # Ctrl+Left Click on mac
|
||||
# As of tkinter 9.0 on macOS button 3 is right click
|
||||
self._tree.bind("<ButtonRelease-3>", self.popup)
|
||||
|
||||
Reference in New Issue
Block a user