aboutsummaryrefslogtreecommitdiffstats
path: root/AdminPanel/Users/GUsers.pm
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2013-12-10 13:20:18 +0100
committerAngelo Naselli <anaselli@linux.it>2013-12-10 13:20:18 +0100
commitfe52154a0eb1dde68f2d5f19aa8deb154740c326 (patch)
treee0b53fa01e6e1626613e437462eb5e90275814a6 /AdminPanel/Users/GUsers.pm
parentd602e5a6131be1f3c737b898b4bdde5aa7389cdd (diff)
downloadcolin-keep-fe52154a0eb1dde68f2d5f19aa8deb154740c326.tar
colin-keep-fe52154a0eb1dde68f2d5f19aa8deb154740c326.tar.gz
colin-keep-fe52154a0eb1dde68f2d5f19aa8deb154740c326.tar.bz2
colin-keep-fe52154a0eb1dde68f2d5f19aa8deb154740c326.tar.xz
colin-keep-fe52154a0eb1dde68f2d5f19aa8deb154740c326.zip
Used a YIntField instead of a YSlider
Diffstat (limited to 'AdminPanel/Users/GUsers.pm')
-rw-r--r--AdminPanel/Users/GUsers.pm11
1 files changed, 2 insertions, 9 deletions
diff --git a/AdminPanel/Users/GUsers.pm b/AdminPanel/Users/GUsers.pm
index f61e7bf..92c477a 100644
--- a/AdminPanel/Users/GUsers.pm
+++ b/AdminPanel/Users/GUsers.pm
@@ -219,15 +219,8 @@ sub addUserDialog {
$align = $factory->createLeft($hbox);
my $uidManually = $factory->createCheckBox($align, N("Specify user ID manually"), 0);
$align = $factory->createRight($hbox);
- my $UID = 0;
- if ($optional->hasSlider()) {
- $UID = $optional->createSlider($align, N("UID"), 1, 65000, 500);
- }
- else {
- # UID must checked in ncurses, value is entered by keyboard without
- # range restriction
- $UID = $factory->createInputField($align, N("UID"), 0);
- }
+
+ my $UID = $factory->createIntField($align, N("UID"), 1, 65000, 500);
$UID->setEnabled($uidManually->value());
$uidManually->setNotify(1);