summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-27 09:22:56 +0000
committergraemeg <graemeg@ae50a9b5-8222-0410-bf8d-8a13f76226bf>2008-03-27 09:22:56 +0000
commitccd60509825aa85b2f1d06274fa843073b8cf21f (patch)
treeade396c1f3e065ac1339f1baa83096e61c2442e9
parent6ccd2bec9e2008a869ac6305cdae4d585ad871c5 (diff)
downloadfpGUI-ccd60509825aa85b2f1d06274fa843073b8cf21f.tar.xz
* Minor fix in TfpgEdit where text did not repaint after Cut or ClearSelection calls.
-rw-r--r--src/gui/gui_edit.pas2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/gui_edit.pas b/src/gui/gui_edit.pas
index 7b52e1b5..70b30ea7 100644
--- a/src/gui/gui_edit.pas
+++ b/src/gui/gui_edit.pas
@@ -879,6 +879,7 @@ end;
procedure TfpgCustomEdit.ClearSelection;
begin
DeleteSelection;
+ RePaint;
end;
procedure TfpgCustomEdit.CopyToClipboard;
@@ -890,6 +891,7 @@ procedure TfpgCustomEdit.CutToClipboard;
begin
DoCopy;
DeleteSelection;
+ RePaint;
end;
procedure TfpgCustomEdit.PasteFromClipboard;