]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Merge "(refs #7524) Set Refresh automatically as default in SCLConsole"
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 2 Oct 2017 10:54:20 +0000 (13:54 +0300)
committerGerrit Code Review <gerrit2@www.simantics.org>
Mon, 2 Oct 2017 10:54:20 +0000 (13:54 +0300)
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);