pygui some cleanup for dialog constructors to avoid passing duplicate parameters in most cases
This commit is contained in:
parent
185c6736b3
commit
1d620a0b17
42 changed files with 143 additions and 209 deletions
|
@ -14,9 +14,8 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
class ThroughputDialog(Dialog):
|
||||
def __init__(self, master: "Application", app: "Application"):
|
||||
super().__init__(master, app, "Throughput Config")
|
||||
self.app = app
|
||||
def __init__(self, app: "Application"):
|
||||
super().__init__(app, "Throughput Config")
|
||||
self.canvas = app.canvas
|
||||
self.show_throughput = tk.IntVar(value=1)
|
||||
self.exponential_weight = tk.IntVar(value=1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue