Workaround to fix performance problems when opening log view 13/1213/1
authorJussi Koskela <jussi.koskela@semantum.fi>
Mon, 13 Nov 2017 07:30:57 +0000 (09:30 +0200)
committerJussi Koskela <jussi.koskela@semantum.fi>
Mon, 13 Nov 2017 07:30:57 +0000 (09:30 +0200)
refs #7611

Change-Id: I15579e23de2ec1b5f217021dc8ef06cc1dfbe5e4

bundles/org.simantics.message.ui/src/org/simantics/message/ui/LogView.java

index e1d075aa80e1736325f8ec1357ec3fb82ef2972d..b71cb3cded05f7de514060b789014186e9bb71d7 100644 (file)
@@ -803,8 +803,8 @@ public class LogView extends ViewPart implements ILogListener {
                });
                fFilteredTree.setInitialText(Messages.LogView_show_filter_initialText);
                fTree = fFilteredTree.getViewer().getTree();
-               fTree.setLinesVisible(true);
                createColumns(fTree);
+               fTree.setLinesVisible(true);
                fFilteredTree.getViewer().setAutoExpandLevel(fMemento.getInteger(P_EXPAND_LEVEL).intValue());
                fFilteredTree.getViewer().setContentProvider(new LogViewContentProvider(this));
                fFilteredTree.getViewer().setLabelProvider(fLabelProvider = new LogViewLabelProvider(this));