commit/StationPlaylist: josephsl: Instant profile switching (6.0-dev): Clear instant switch flags when app module exits.

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Wed, 22 Jul 2015 22:05:16 -0000

1 new commit in StationPlaylist:

https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/e5582e2c7e9b/
Changeset: e5582e2c7e9b
Branch: master
User: josephsl
Date: 2015-07-22 22:02:29+00:00
Summary: Instant profile switching (6.0-dev): Clear instant switch flags
when app module exits.

Affected #: 1 file

diff --git a/addon/appModules/splstudio/splconfig.py
b/addon/appModules/splstudio/splconfig.py
index 6d47430..12f8eaa 100755
--- a/addon/appModules/splstudio/splconfig.py
+++ b/addon/appModules/splstudio/splconfig.py
@@ -153,7 +153,7 @@ def _preSave(conf):
# Save configuration database.
def saveConfig():
# Save all config profiles.
- global SPLConfig, SPLConfigPool, SPLActiveProfile
+ global SPLConfig, SPLConfigPool, SPLActiveProfile, SPLPrevProfile,
SPLSwitchProfile
# Apply any global settings changed in profiles to normal configuration.
if SPLConfigPool.index(SPLConfig) > 0:
for setting in SPLConfig:
@@ -166,6 +166,8 @@ def saveConfig():
SPLConfig = None
SPLConfigPool = None
SPLActiveProfile = None
+ SPLPrevProfile = None
+ SPLSwitchProfile = None

# Switch between profiles.
SPLActiveProfile = None

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: Instant profile switching (6.0-dev): Clear instant switch flags when app module exits. - commits-noreply