Commit 4e6d7a3a authored by Marko Luukkainen's avatar Marko Luukkainen Committed by Tuukka Lehtonen
Browse files

Return SCLConsole from SCLScriptConsoleView

gitlab #722

Change-Id: Iaaaf8c2084bfb5a1c7eb7339535a6b4a09010a32


(cherry picked from commit b04c7265)
parent 7f86b148
......@@ -51,6 +51,8 @@ public class SCLScriptConsoleView extends ViewPart {
public <T> T getAdapter(Class<T> adapter) {
if (adapter == SCLReportingHandler.class)
return (T) console.getHandler();
if (adapter == SCLConsole.class)
return (T) console;
return super.getAdapter(adapter);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment