Skip to content
Snippets Groups Projects
Commit 23a459b2 authored by Markus Krug's avatar Markus Krug
Browse files

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

parent 76047baf
No related branches found
No related tags found
No related merge requests found
Pipeline #21635 passed
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment