Commit 218b9f23 authored by Daniele Romagnoli's avatar Daniele Romagnoli
Browse files

Merge pull request #1354 from dromagnoli/netcdfpanel-fix-2.8.x

netcdfpanel oversight fix
parents 30b0516f f02b8754
......@@ -185,9 +185,10 @@ public class NetCDFPanel<T extends NetCDFSettingsContainer> extends FormComponen
addLink.add(new Icon("addIcon", ADD_ICON));
NetCDFSettingsContainer object = netcdfModel.getObject();
if (object == null) {
netcdfModel.setObject((T)new NetCDFSettingsContainer());
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