From 9687f72818d648cd8886a8dabc837218d250feae Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Thu, 26 Jun 2014 10:18:52 +0200 Subject: use of setValue for consistency with other code --- lib/AdminPanel/Module/Clock.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/AdminPanel/Module') diff --git a/lib/AdminPanel/Module/Clock.pm b/lib/AdminPanel/Module/Clock.pm index f5bc522..145447d 100644 --- a/lib/AdminPanel/Module/Clock.pm +++ b/lib/AdminPanel/Module/Clock.pm @@ -276,7 +276,7 @@ sub _adminClockPanel { } if ($info->{ntp_server}) { - $ntpLabel->setLabel($info->{ntp_server}); + $ntpLabel->setValue($info->{ntp_server}); } # get only once @@ -361,10 +361,10 @@ sub _adminClockPanel { $timeZoneLbl->setValue($self->loc->N("not defined")); } if ($info->{ntp_server}) { - $ntpLabel->setLabel($info->{ntp_server}); + $ntpLabel->setValue($info->{ntp_server}); } else { - $ntpLabel->setLabel($self->loc->N("not defined")); + $ntpLabel->setValue($self->loc->N("not defined")); } } elsif($widget == $aboutButton) { -- cgit v1.2.1