Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

Commit

Permalink
Fixing DEVTOOLESB-711
Browse files Browse the repository at this point in the history
  • Loading branch information
sumuditha-viraj committed Aug 5, 2016
1 parent 4b10d18 commit 01a8f02
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,6 @@ public void run() {
initialPageLoad = false;
}

EditorUtils.setLockmode(graphicalEditor, false);
try {
EsbDiagram diagram = (EsbDiagram) graphicalEditor.getDiagram().getElement();
EsbServer server = diagram.getServer();
Expand All @@ -683,6 +682,14 @@ public void run() {
log.error("Error while adding debug points to design view when page loading : "
+ e.getMessage(), e);
}

//Fixing DEVTOOLESB-711
Display.getDefault().asyncExec(new Runnable() {
@Override
public void run() {
EditorUtils.setLockmode(graphicalEditor, false);
}
});
}
});
}
Expand Down

0 comments on commit 01a8f02

Please sign in to comment.