]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
(refs #7524) Set Refresh automatically as default in SCLConsole 64/1064/1
authorHannu Niemistö <hannu.niemisto@semantum.fi>
Mon, 2 Oct 2017 10:30:17 +0000 (13:30 +0300)
committerHannu Niemistö <hannu.niemisto@semantum.fi>
Mon, 2 Oct 2017 10:30:17 +0000 (13:30 +0300)
Change-Id: Iddeb05a729d49be1238aa895d5ecc0e17fdb7d53

bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/SCLConsoleView.java

index 63b89a0b5a9c2ae274302f09a671c8f036e02e97..8b49ea345fac656a70b4027959b297f7c4cfa889 100644 (file)
@@ -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);