From f8a2de3a04b61e92d42240b23ed818b3c9a6305f Mon Sep 17 00:00:00 2001 From: paulojamorim Date: Fri, 15 Jan 2010 17:57:54 +0000 Subject: [PATCH] ENH: Busy cursor in the importation --- invesalius/control.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) diff --git a/invesalius/control.py b/invesalius/control.py index 0d2dc4e..ae68feb 100755 --- a/invesalius/control.py +++ b/invesalius/control.py @@ -225,6 +225,7 @@ class Controller(): reader = dcm.ProgressDicomReader() reader.SetWindowEvent(self.frame) reader.SetDirectoryPath(path) + ps.Publisher().sendMessage('End busy cursor') def Progress(self, evt): data = evt.data @@ -239,6 +240,7 @@ class Controller(): if not(self.progress_dialog.Update(data[0],message)): self.progress_dialog.Close() self.progress_dialog = None + ps.Publisher().sendMessage('Begin busy cursor') else: #Is None if user canceled the load self.progress_dialog.Close() -- libgit2 0.21.2