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 1 changed file with 2 additions and 2 deletions.
@@ -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 @@ class HyperlinkManager:
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.