mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
copy paste error
This commit is contained in:
Binary file not shown.
+5
@@ -1739,6 +1739,11 @@ public class Presenter implements IPlugInPort {
|
|||||||
Template template) {
|
Template template) {
|
||||||
LOG.info(String.format("setNewComponentSlot(%s)",
|
LOG.info(String.format("setNewComponentSlot(%s)",
|
||||||
componentType == null ? null : componentType.getName()));
|
componentType == null ? null : componentType.getName()));
|
||||||
|
if (componentType != null && componentType.getInstanceClass() == null) {
|
||||||
|
LOG.info("Cannot set new component type slot for type " + componentType.getName());
|
||||||
|
setNewComponentTypeSlot(null, null);
|
||||||
|
return;
|
||||||
|
}
|
||||||
try {
|
try {
|
||||||
instantiationManager.setComponentTypeSlot(componentType, template,
|
instantiationManager.setComponentTypeSlot(componentType, template,
|
||||||
currentProject);
|
currentProject);
|
||||||
|
|||||||
Reference in New Issue
Block a user