Repository navigation
Commit d44f7a1
authored
Allow config profile triggers when Add-on Store is open (#19583)
Closes #15165
Summary of the issue:
Configuration profile triggers for "Current application" do not activate when the Add-on Store dialog is open, even though the Add-on Store is an NVDA window. This is because AddonStoreDialog inherits from SettingsDialog, which has shouldSuspendConfigProfileTriggers = True to prevent feedback loops while editing settings.
Description of user facing changes:
Configuration profile triggers now activate when the Add-on Store is open. Users who create a config profile triggered by the NVDA application (e.g., to enable table headers in the Add-on Store) will now have their profile correctly activated.
Description of developer facing changes:
Added shouldSuspendConfigProfileTriggers = False to AddonStoreDialog to override the inherited value from SettingsDialog.
Description of development approach:
The SettingsDialog base class sets shouldSuspendConfigProfileTriggers = True because changing settings while a profile trigger is active could cause confusion. However, the Add-on Store doesn't modify NVDA settings, so there's no reason to suspend triggers. The fix simply overrides this attribute to False.1 parent d0be47c commit d44f7a1
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
0 commit comments