From 5d1e5edc913578444098feaaffc5756f9460f912 Mon Sep 17 00:00:00 2001 From: duplo Date: Tue, 20 Apr 2010 14:44:00 +0000 Subject: [PATCH] Add wait cursor during preset loading. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3484 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/BRoutePage.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/wizard/BRoutePage.py b/wizard/BRoutePage.py index d5e27b5a..ccd0eff0 100644 --- a/wizard/BRoutePage.py +++ b/wizard/BRoutePage.py @@ -96,7 +96,11 @@ class BRoutePage(BWizardPage): Overload of the BWizardPage reloadData method. """ preset = self.projectInfo('PROJECT_PRESET') - self.project.loadProjectFromPreset(preset) + try: + QApplication.instance().setOverrideCursor(Qt.WaitCursor) + self.project.loadProjectFromPreset(preset) + finally: + QApplication.instance().restoreOverrideCursor() #### -- 2.25.1