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 ...@@ -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())
FileUtil.setExtension(result, ""); 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment