From 2d150597360738d6fdecd24a21d4ce076469b1df Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 20 Jun 2014 09:28:52 +0200 Subject: fix crash on clicking Cancel after TZ selection (mga#13534) --- perl-install/standalone/drakclock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/standalone/drakclock') diff --git a/perl-install/standalone/drakclock b/perl-install/standalone/drakclock index 7b64ed508..87820c9d4 100755 --- a/perl-install/standalone/drakclock +++ b/perl-install/standalone/drakclock @@ -45,8 +45,8 @@ $button_time->signal_connect(clicked => sub { if ($timezone->{timezone} = $in->ask_from_treelist(N("Timezone - DrakClock"), N("Which is your timezone?"), '/', \@timezones, $timezone->{timezone})) { $timezone->{UTC} = $in->ask_yesorno(N("GMT - DrakClock"), N("Is your hardware clock set to GMT?"), $timezone->{UTC}); timezone::write($timezone); + $label_timezone->set_text($timezone->{timezone}); } - $label_timezone->set_text($timezone->{timezone}); }); if (!@timezones) { warn "Failed to retrieve timezone list: $err\n"; -- cgit v1.2.1