Commit 23a459b2 authored by Markus Krug's avatar Markus Krug

Fix accessing of selected NE when usuing the table to assign an id

parent 76047baf
Pipeline #21635 passed with stages
in 8 minutes and 48 seconds
......@@ -1060,8 +1060,10 @@ public class CorefView extends AEditorSubordinateViewPart {
}
public void tableAnnotationDoubleClicked(AnnotationFS selected) {
if(editor.getWidget().getSelection()==null)return;
AnnotationFS coveringNE = getCoveringNE(editor.getWidget().getSelection().x);
AnnotationFS coveringNE = getCoveringNE(editor.getWidget().getCaretOffset());
String id = selected.getFeatureValueAsString(idFeat);
String names = selected.getFeatureValueAsString(nameFeat);
......
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