commit/StationPlaylist: josephsl: 17.03: NvDA will no longer papear to do nothing or play an error tone when switching to a time-based profile. fixes #26.

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Thu, 02 Mar 2017 20:22:11 -0000

1 new commit in StationPlaylist:

https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/7cd55aa1823f/
Changeset:   7cd55aa1823f
Branch:      stable
User:        josephsl
Date:        2017-03-02 20:21:50+00:00
Summary:     17.03: NvDA will no longer papear to do nothing or play an error 
tone when switching to a time-based profile. fixes #26.

Wrong profile used in trigger profile function (leftover from SPLConfig 
conversion days). This caused NVDA to appear to do nothing or play an error 
tone. This has been corrected and will be made available as part of 17.03.

Affected #:  1 file

diff --git a/addon/appModules/splstudio/splconfig.py 
b/addon/appModules/splstudio/splconfig.py
index 8a10737..7ae5c1f 100755
--- a/addon/appModules/splstudio/splconfig.py
+++ b/addon/appModules/splstudio/splconfig.py
@@ -753,7 +753,7 @@ def switchProfile(prevProfile, newProfile):
        SPLPrevProfile = prevProfile
        # 8.0: Cache other profiles this time.
        if newProfile != _("Normal profile") and newProfile not in _SPLCache:
-               _cacheConfig(getProfileByName(selectedProfile))
+               _cacheConfig(getProfileByName(newProfile))
 
 # Called from within the app module.
 def instantProfileSwitch():

Repository URL: https://bitbucket.org/nvdaaddonteam/stationplaylist/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.

Other related posts:

  • » commit/StationPlaylist: josephsl: 17.03: NvDA will no longer papear to do nothing or play an error tone when switching to a time-based profile. fixes #26. - commits-noreply