Fixed SCL Console Clear Console active-state when imports are erroneous 01/1401/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 26 Jan 2018 11:33:10 +0000 (13:33 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 26 Jan 2018 11:33:10 +0000 (13:33 +0200)
commitdbe0a77f0869111219b69d412d0bb90d17c391c1
tree0e958972c14917a1e4c40a0a271586472410572b
parent13b33e30d0ae619c5ab9fd495ffff59a3ca55a52
Fixed SCL Console Clear Console active-state when imports are erroneous

Current imports were set too early in SCLConsoleView which before the
SCLConsoleListener that enables the buttons is registered.

refs #7727

Change-Id: I7cb0645bea5dc48a4ad54f2147c83cb8dfb2f35f
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/Activator.java
bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/commands/SCLConsoleListener.java
bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/SCLConsoleView.java
bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/SCLScriptConsoleView.java