Commit 1b4345e9 authored by Thomas Huster's avatar Thomas Huster

[16427] update view on CreateMandantTemplateCommand

parent da8585c1
Pipeline #11299 passed with stages
in 2 minutes and 18 seconds
......@@ -10,6 +10,7 @@ import org.eclipse.ui.PlatformUI;
import org.eclipse.ui.handlers.HandlerUtil;
import ch.elexis.core.data.activator.CoreHub;
import ch.elexis.core.data.events.ElexisEvent;
import ch.elexis.core.data.events.ElexisEventDispatcher;
import ch.elexis.core.ui.views.textsystem.TextTemplateView;
import ch.elexis.core.ui.views.textsystem.model.TextTemplate;
......@@ -45,7 +46,8 @@ public class CreateMandantTemplateCommand extends AbstractHandler {
new TextTemplate(specTemplate.getBetreff(), "", specTemplate.getMimeType());
specTextTemplate.addFormTemplateReference(specTemplate);
refreshTextTemplateView(specTextTemplate);
ElexisEventDispatcher.getInstance().fire(new ElexisEvent(Brief.class, null,
ElexisEvent.EVENT_RELOAD, ElexisEvent.PRIORITY_NORMAL));
}
}
return null;
......
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