Commit 4f6c107a7a8ec3cec3160d2c13683d2e73d59448
1 parent
b2fa74ac
Exists in
master
and in
3 other branches
Fixing unlock-delay property.
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
src/core/properties/unsigned.c
... | ... | @@ -152,6 +152,8 @@ static unsigned int lib3270_get_host_type_number(const H3270 *hSession) |
152 | 152 | #else |
153 | 153 | .default_value = 350, |
154 | 154 | #endif // UNLOCK_MS |
155 | + .min = 0, | |
156 | + .max = 1000000, | |
155 | 157 | .label = N_("Unlock delay"), |
156 | 158 | .description = N_( "The delay between the host unlocking the keyboard and the actual unlock" ), // Property description. |
157 | 159 | .get = lib3270_get_unlock_delay, // Get value. | ... | ... |