aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel/Module
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AdminPanel/Module')
-rw-r--r--lib/AdminPanel/Module/Clock.pm6
1 files changed, 3 insertions, 3 deletions
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) {