diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-12-29 07:51:39 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-12-29 07:51:39 +0000 |
commit | fdfb90411fa55de7e3e6868f05e2522163896ca2 (patch) | |
tree | c8d760f4af703da292ce5c72030ab8a3df0e5071 | |
parent | b9ae9ecd24e071c346badbd3ac275469b04429d6 (diff) | |
download | control-center-fdfb90411fa55de7e3e6868f05e2522163896ca2.tar control-center-fdfb90411fa55de7e3e6868f05e2522163896ca2.tar.gz control-center-fdfb90411fa55de7e3e6868f05e2522163896ca2.tar.bz2 control-center-fdfb90411fa55de7e3e6868f05e2522163896ca2.tar.xz control-center-fdfb90411fa55de7e3e6868f05e2522163896ca2.zip |
save current profile before switching
-rwxr-xr-x | control-center | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/control-center b/control-center index 7cb99c6a..c74e338e 100755 --- a/control-center +++ b/control-center @@ -479,6 +479,7 @@ Are you sure you want to do the switch.", $netcnx->{PROFILE}, $prof), { transien $done = 0; enable_profile_entry($netcnx->{PROFILE}, 0); $netcnx->{PROFILE} = $prof; + network::netconnect::save_profile($netcnx); network::netconnect::set_profile($netcnx); enable_profile_entry($prof, 1) if !$removing; $done = 1; |