Commit 08cc8718 authored by Thomas Huster's avatar Thomas Huster

[14358] added setting selection as typed context to VerrechnungsDisplay

parent 0f6d8746
Pipeline #12238 passed with stages
in 4 minutes and 47 seconds
......@@ -284,8 +284,8 @@ public class VerrechnungsDisplay extends Composite implements IUnlockable {
IStructuredSelection selection = viewer.getStructuredSelection();
if (selection != null && !selection.isEmpty()
&& (selection.getFirstElement() instanceof IBilled)) {
ContextServiceHolder.get().postEvent(ElexisEventTopics.EVENT_UPDATE,
selection.getFirstElement());
ContextServiceHolder.get().getRootContext()
.setTyped(selection.getFirstElement());
}
}
});
......
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