Change ttk import for consistency

This commit is contained in:
Jonathan Harris authored and Athanasius committed 2020-06-21 16:28:30 +01:00
1 parent 68ec5fe0e1
commit a2ea9e014c
1 file changed
+2 -2
+2 -2
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)