1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 01:22:19 +03:00

Fix underline font init syntax

This commit is contained in:
Jonathan Harris 2016-07-26 23:31:48 +01:00
parent fd48a28d96
commit 740627f043

@ -40,7 +40,7 @@ class HyperlinkLabel(platform == 'darwin' and tk.Label or ttk.Label, object):
if self.underline is not False:
self.font_n = kw.get('font', ttk.Style().lookup('TLabel', 'font'))
self.font_u = tkFont.Font(self, self.font_n)
self.font_u = tkFont.Font(font = self.font_n)
self.font_u.configure(underline = True)
if self.underline is True:
self.configure(font = self.font_u)