Skip to content
Permalink
Browse files

Changed import method to try and fix an issue but didn't work, has be…

…en left altered for the sake of being consistent with the other files
  • Loading branch information
hortonr6 committed Nov 22, 2017
1 parent 2b0eb83 commit 8089eae3429f319526f7fbfda843e5b46566b465
Showing with 2 additions and 2 deletions.
  1. +2 −2 tkHyperlinkManager.py
@@ -4,7 +4,7 @@
# Source: http://effbot.org/zone/tkinter-text-hyperlink.htm #
#########################################################################

from tkinter import *
import tkinter as tk

class HyperlinkManager:

@@ -37,7 +37,7 @@ def _leave(self, event):
self.text.config(cursor="")

def _click(self, event):
for tag in self.text.tag_names(CURRENT):
for tag in self.text.tag_names(tk.CURRENT):
if tag[:6] == "hyper-":
self.links[tag]()
return

0 comments on commit 8089eae

Please sign in to comment.
You can’t perform that action at this time.