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
|
@ -16,10 +16,8 @@ if TYPE_CHECKING:
|
|||
|
||||
|
||||
class SessionsDialog(Dialog):
|
||||
def __init__(
|
||||
self, master: "Application", app: "Application", is_start_app: bool = False
|
||||
) -> None:
|
||||
super().__init__(master, app, "Sessions")
|
||||
def __init__(self, app: "Application", is_start_app: bool = False) -> None:
|
||||
super().__init__(app, "Sessions")
|
||||
self.is_start_app = is_start_app
|
||||
self.selected_session = None
|
||||
self.selected_id = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue