diff options
-rwxr-xr-x | perl-install/standalone/drakconnect | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index 763136c89..c24e2a55c 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -252,11 +252,7 @@ $button_apply->set_sensitive(0); $bbox0->add($button_apply); my $button_cancel = new Gtk2::Button(N("Cancel")); -$button_cancel->signal_connect(clicked => sub { - $combo1->entry->set_text($old_profile); - update(); - quit_global(); - }); +$button_cancel->signal_connect(clicked => \&quit_global); $bbox0->add($button_cancel); my $button_ok = new Gtk2::Button(N("OK")); $button_ok->signal_connect(clicked => sub { |