Skip to content
Permalink
Browse files

Issue #578: prefer Invalidate over Repaint, as the lists may not be d…

…isplayed at all and may crash when forcing a repaint
  • Loading branch information...
ansgarbecker committed Jun 11, 2019
1 parent f349ed9 commit 6641b82a43c0fe3e5770a3f6e9d499a6d70a3db2
Showing with 2 additions and 2 deletions.
  1. +2 −2 source/table_editor.pas
@@ -341,8 +341,8 @@ procedure TfrmTableEditor.Init(Obj: TDBObject);
listColumns.EndUpdate;

// Set root nodes per BeforePaint event:
treeIndexes.Repaint;
listForeignKeys.Repaint;
treeIndexes.Invalidate;
listForeignKeys.Invalidate;

// Validate controls
comboEngineSelect(comboEngine);

0 comments on commit 6641b82

Please sign in to comment.
You can’t perform that action at this time.