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
|
@ -340,8 +340,8 @@ class Menubar(tk.Menu):
|
|||
self.core.xml_file = filename
|
||||
self.core.xml_dir = str(os.path.dirname(filename))
|
||||
self.prompt_save_running_session()
|
||||
task = ProgressTask(self.core.open_xml, args=(filename,))
|
||||
self.app.progress_task(task)
|
||||
task = ProgressTask(self.app, "Open XML", self.core.open_xml, args=(filename,))
|
||||
task.start()
|
||||
|
||||
def execute_python(self):
|
||||
dialog = ExecutePythonDialog(self.app, self.app)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue