Skip to content
Snippets Groups Projects
Commit 0250eb10 authored by Stephane Dallongeville's avatar Stephane Dallongeville
Browse files
parents 9926d2e6 73be297b
No related branches found
No related tags found
No related merge requests found
Showing
with 2 additions and 2 deletions
...@@ -42,7 +42,7 @@ public class GetFileName extends Plugin implements SequenceBlock, PluginBundled ...@@ -42,7 +42,7 @@ public class GetFileName extends Plugin implements SequenceBlock, PluginBundled
result = FileUtil.getFileName(result); result = FileUtil.getFileName(result);
// remove extension ? // remove extension ?
if (!withExtension.getValue().booleanValue()) if (!withExtension.getValue().booleanValue())
result = FileUtil.setExtension(result, ""); FileUtil.setExtension(result, "");
filename.setValue(result); filename.setValue(result);
} }
......
...@@ -50,7 +50,7 @@ public class VarColormap extends Var<IcyColorMap> ...@@ -50,7 +50,7 @@ public class VarColormap extends Var<IcyColorMap>
// create the var editor (combo box type here) // create the var editor (combo box type here)
final ComboBox<IcyColorMap> result = new ComboBox<IcyColorMap>(this); final ComboBox<IcyColorMap> result = new ComboBox<IcyColorMap>(this);
// get the editor component // get the editor component
final JComboBox<?> combo = result.getEditorComponent(); final JComboBox combo = result.getEditorComponent();
// and set a specific renderer // and set a specific renderer
combo.setRenderer(new ColormapComboBoxRenderer(combo)); combo.setRenderer(new ColormapComboBoxRenderer(combo));
......
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