pygui updated progress tasks to be self contained and leverage a title value to display runtime with more context to user
This commit is contained in:
parent
1dd45f4424
commit
4ec6ef25fe
5 changed files with 40 additions and 30 deletions
|
@ -185,8 +185,10 @@ class SessionsDialog(Dialog):
|
|||
self.destroy()
|
||||
if self.app.core.xml_file:
|
||||
self.app.core.xml_file = None
|
||||
task = ProgressTask(self.app.core.join_session, args=(session_id,))
|
||||
self.app.progress_task(task)
|
||||
task = ProgressTask(
|
||||
self.app, "Join", self.app.core.join_session, args=(session_id,)
|
||||
)
|
||||
task.start()
|
||||
|
||||
def double_click_join(self, _event: tk.Event) -> None:
|
||||
item = self.tree.selection()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue