pygui: simplified toolbar constructor, since there is no need for something more complicated
This commit is contained in:
parent
ee5d5b9864
commit
0dcfcbf4ea
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue