|
@@ -83,7 +83,7 @@ begin
|
|
|
begin
|
|
begin
|
|
|
BCNumericKeyboard1.Hide();
|
|
BCNumericKeyboard1.Hide();
|
|
|
// Remove unnecessary comma for button caption
|
|
// Remove unnecessary comma for button caption
|
|
|
- if Sender is TBCButton then
|
|
|
|
|
|
|
+ if Sender is TBCButton or Sender is TEdit then
|
|
|
if Pos(DefaultFormatSettings.DecimalSeparator, NumericSender.Caption) =
|
|
if Pos(DefaultFormatSettings.DecimalSeparator, NumericSender.Caption) =
|
|
|
Length(NumericSender.Caption) then
|
|
Length(NumericSender.Caption) then
|
|
|
NumericSender.Caption :=
|
|
NumericSender.Caption :=
|