diff options
| author | Jeffrey Altman <jaltman@secure-endpoints.com> | 2007-08-03 13:22:23 +0000 |
|---|---|---|
| committer | Jeffrey Altman <jaltman@secure-endpoints.com> | 2007-08-03 13:22:23 +0000 |
| commit | 16193ecb6d1c7718b435d33a87578bc156a2aaa3 (patch) | |
| tree | f9b4d6dc2264775feb07457343d179038430e848 /src/windows | |
| parent | 16416ae1d4b63e349db85ca0a7c7cc96a17f872a (diff) | |
| download | krb5-16193ecb6d1c7718b435d33a87578bc156a2aaa3.tar.gz krb5-16193ecb6d1c7718b435d33a87578bc156a2aaa3.tar.xz krb5-16193ecb6d1c7718b435d33a87578bc156a2aaa3.zip | |
NIM: apply does not update saved values of general identities cfg page
The general identities configuration panel failed to update the saved values
of the DefaultMonitor, DefaultAllowAutoRenew, and DefaultSticky options after
the "Apply" button was pressed. This resulted in the subsequent value changed
states being incorrect.
This patch saves the values.
ticket: new
component: windows
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19747 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows')
| -rw-r--r-- | src/windows/identity/ui/cfg_identities_wnd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/windows/identity/ui/cfg_identities_wnd.c b/src/windows/identity/ui/cfg_identities_wnd.c index ebe61e14d..5e3079224 100644 --- a/src/windows/identity/ui/cfg_identities_wnd.c +++ b/src/windows/identity/ui/cfg_identities_wnd.c @@ -494,19 +494,19 @@ write_params_idents(void) { if (cfg_idents.work.monitor != cfg_idents.saved.monitor) { khc_write_int32(csp_cw, L"DefaultMonitor", !!cfg_idents.work.monitor); - cfg_idents.work.monitor = cfg_idents.saved.monitor; + cfg_idents.saved.monitor = cfg_idents.work.monitor; cfg_idents.applied = TRUE; } if (cfg_idents.work.auto_renew != cfg_idents.saved.auto_renew) { khc_write_int32(csp_cw, L"DefaultAllowAutoRenew", !!cfg_idents.work.auto_renew); - cfg_idents.work.auto_renew = cfg_idents.saved.auto_renew; + cfg_idents.saved.auto_renew = cfg_idents.work.auto_renew; cfg_idents.applied = TRUE; } if (cfg_idents.work.sticky != cfg_idents.saved.sticky) { khc_write_int32(csp_cw, L"DefaultSticky", !!cfg_idents.work.sticky); - cfg_idents.work.sticky = cfg_idents.saved.sticky; + cfg_idents.saved.sticky = cfg_idents.work.sticky; cfg_idents.applied = TRUE; } |
