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
|
@ -467,11 +467,11 @@ class CoreClient:
|
|||
if len(sessions) == 0:
|
||||
self.create_new_session()
|
||||
else:
|
||||
dialog = SessionsDialog(self.app, self.app, True)
|
||||
dialog = SessionsDialog(self.app, True)
|
||||
dialog.show()
|
||||
except grpc.RpcError as e:
|
||||
logging.exception("core setup error")
|
||||
dialog = ErrorDialog(self.app, self.app, "Setup Error", e.details())
|
||||
dialog = ErrorDialog(self.app, "Setup Error", e.details())
|
||||
dialog.show()
|
||||
self.app.close()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue