1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-12 23:37:14 +03:00

Change ttk import for consistency

This commit is contained in:
Jonathan Harris 2019-09-27 19:17:30 +01:00 committed by Athanasius
parent 68ec5fe0e1
commit a2ea9e014c

View File

@ -25,7 +25,7 @@ if getattr(sys, 'frozen', False):
chdir(dirname(sys.path[0]))
import tkinter as tk
import tkinter.ttk
from tkinter import ttk
import tkinter.filedialog
import tkinter.font
import tkinter.messagebox
@ -123,7 +123,7 @@ class AppWindow(object):
else:
appitem.grid(columnspan=2, sticky=tk.EW)
self.button = tkinter.ttk.Button(frame, text=_('Update'), width=28, default=tk.ACTIVE, state=tk.DISABLED) # Update button in main window
self.button = ttk.Button(frame, text=_('Update'), width=28, default=tk.ACTIVE, state=tk.DISABLED) # Update button in main window
self.theme_button = tk.Label(frame, width = platform == 'darwin' and 32 or 28, state=tk.DISABLED)
self.status = tk.Label(frame, name='status', anchor=tk.W)