Merge pull request #1559 from ScrubN/fix-numeric-up-down-arrow-keys
Fix NumericUpDown text not updating when arrow keys are used
This commit is contained in:
1 file changed
+2
@@ -106,10 +106,12 @@ public class NumericUpDown : Control
|
|||||||
if (e.Key == Key.Up)
|
if (e.Key == Key.Up)
|
||||||
{
|
{
|
||||||
Value += Increment;
|
Value += Increment;
|
||||||
|
SetText(true);
|
||||||
}
|
}
|
||||||
else if (e.Key == Key.Down)
|
else if (e.Key == Key.Down)
|
||||||
{
|
{
|
||||||
Value -= Increment;
|
Value -= Increment;
|
||||||
|
SetText(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user