From d10d315ad6751d5f183a398aa1938b6797fdf379 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Hannu=20Niemist=C3=B6?= Date: Mon, 2 Oct 2017 13:30:17 +0300 Subject: [PATCH] (refs #7524) Set Refresh automatically as default in SCLConsole Change-Id: Iddeb05a729d49be1238aa895d5ecc0e17fdb7d53 --- .../src/org/simantics/scl/ui/console/SCLConsoleView.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/SCLConsoleView.java b/bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/SCLConsoleView.java index 63b89a0b5..8b49ea345 100644 --- a/bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/SCLConsoleView.java +++ b/bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/SCLConsoleView.java @@ -170,6 +170,8 @@ public class SCLConsoleView extends ViewPart { @Override public void createPartControl(Composite parent) { store = new ScopedPreferenceStore(InstanceScope.INSTANCE, PLUGIN_ID); + store.setDefault(REFRESH_AUTOMATICALLY, true); + this.console = new SCLConsole(parent, SWT.NONE); setRefreshAutomatically(store.getBoolean(REFRESH_AUTOMATICALLY), false); -- 2.47.1