diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-15 09:58:09 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-15 09:58:09 +0000 |
commit | 3c65292c60ea13bf5fa67ee211440bf00be74895 (patch) | |
tree | 4d8e84bb67cd07169ab718630f496801c9059a0c /perl-install | |
parent | 900b586d313f45fe3a75b92624495c2740866e4c (diff) | |
download | drakx-backup-do-not-use-3c65292c60ea13bf5fa67ee211440bf00be74895.tar drakx-backup-do-not-use-3c65292c60ea13bf5fa67ee211440bf00be74895.tar.gz drakx-backup-do-not-use-3c65292c60ea13bf5fa67ee211440bf00be74895.tar.bz2 drakx-backup-do-not-use-3c65292c60ea13bf5fa67ee211440bf00be74895.tar.xz drakx-backup-do-not-use-3c65292c60ea13bf5fa67ee211440bf00be74895.zip |
(configure_net) fix crash on internet access dialog closing
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/drakconnect | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index 80b27186a..683b8e357 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -948,8 +948,11 @@ Please run \"Internet access\" in control center.")); foreach my $i (0..$#conf_data) { ${$conf_data[$::i][1]} = $infos[2*$::i+1]->get_text; } @conf_data; - update(); - $button_apply->set_sensitive(1); + # called from old GUI? + if ($label_host) { + update(); + $button_apply->set_sensitive(1); + } $exit_dialogsub->(); }), ), |