[orca/new-settings] Make a change to focus_tracking_presenter.py which interferes with loading a new profile.



commit ccfe6a95694c5447ff8d00102a7493edf0f3b845
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Fri Dec 10 19:05:35 2010 -0500

    Make a change to focus_tracking_presenter.py which interferes with loading a new profile.

 src/orca/focus_tracking_presenter.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/focus_tracking_presenter.py b/src/orca/focus_tracking_presenter.py
index f46e0e8..17d17af 100644
--- a/src/orca/focus_tracking_presenter.py
+++ b/src/orca/focus_tracking_presenter.py
@@ -339,6 +339,9 @@ class FocusTrackingPresenter(presentation_manager.PresentationManager):
         - newScript: the new script to be made active.
         """
 
+        if orca_state.activeScript == newScript:
+            return
+
         try:
             # If old ("factory") settings don't exist yet, save
             # a set, else restore the old application settings.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]