V2
This commit is contained in:
@@ -38,7 +38,7 @@ public class WagoPanel extends DevicePanel {
|
||||
|
||||
void execute(String statement){
|
||||
try {
|
||||
Context.getInterpreter().evalLineBackgroundAsync(statement).handle((ret, ex) -> {
|
||||
Context.getSequencer().evalLineBackgroundAsync(statement).handle((ret, ex) -> {
|
||||
if (WagoPanel.this.isShowing()){
|
||||
if (ex != null){
|
||||
showException((Exception)ex);
|
||||
|
||||
Reference in New Issue
Block a user