Skip to content
Snippets Groups Projects
Commit 29fe0b43 authored by Daniel Felipe  GONZALEZ OBANDO's avatar Daniel Felipe GONZALEZ OBANDO
Browse files

Fixed: Get file name without extension does not remove extension

parent f691988a
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,7 @@ public class GetFileName extends Plugin implements SequenceBlock, PluginBundled
result = FileUtil.getFileName(result);
// remove extension ?
if (!withExtension.getValue().booleanValue())
FileUtil.setExtension(result, "");
result = FileUtil.setExtension(result, "");
filename.setValue(result);
}
......
......@@ -50,7 +50,7 @@ public class VarColormap extends Var<IcyColorMap>
// create the var editor (combo box type here)
final ComboBox<IcyColorMap> result = new ComboBox<IcyColorMap>(this);
// get the editor component
final JComboBox combo = result.getEditorComponent();
final JComboBox<?> combo = result.getEditorComponent();
// and set a specific renderer
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