pygui: simplified toolbar constructor, since there is no need for something more complicated

This commit is contained in:
Blake Harnden 2020-05-15 11:43:54 -07:00
parent ee5d5b9864
commit 0dcfcbf4ea
2 changed files with 3 additions and 3 deletions

View file

@ -42,11 +42,11 @@ class Toolbar(ttk.Frame):
Core toolbar class
"""
def __init__(self, master: tk.Widget, app: "Application", **kwargs) -> None:
def __init__(self, app: "Application") -> None:
"""
Create a CoreToolbar instance
"""
super().__init__(master, **kwargs)
super().__init__(app)
self.app = app
# design buttons