summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-12-29 07:51:39 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-12-29 07:51:39 +0000
commitfdfb90411fa55de7e3e6868f05e2522163896ca2 (patch)
treec8d760f4af703da292ce5c72030ab8a3df0e5071
parentb9ae9ecd24e071c346badbd3ac275469b04429d6 (diff)
downloadcontrol-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-xcontrol-center1
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;