summaryrefslogtreecommitdiff
path: root/src/gui/fpg_edit.pas
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/fpg_edit.pas')
-rw-r--r--src/gui/fpg_edit.pas1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/fpg_edit.pas b/src/gui/fpg_edit.pas
index 86ae00fc..ddd97eab 100644
--- a/src/gui/fpg_edit.pas
+++ b/src/gui/fpg_edit.pas
@@ -1223,6 +1223,7 @@ procedure TfpgBaseEdit.SetReadOnly(const AValue: Boolean);
begin
if FReadOnly = AValue then exit;
FReadOnly := AValue;
+ RePaint;
end;
function TfpgBaseEdit.GetMarginAdjustment: integer;