1
0
mirror of https://github.com/mitb-archive/filebot synced 2025-01-10 21:38:04 -05:00

Use database icon for custom Presets instead of the generic "Run Script" icon

This commit is contained in:
Reinhard Pointner 2017-03-03 21:27:13 +08:00
parent 7b7a75e694
commit c960fd85a7

View File

@ -688,7 +688,7 @@ public class RenamePanel extends JComponent {
private Preset preset;
public ApplyPresetAction(Preset preset) {
super(preset.getName(), ResourceManager.getIcon("script.go"), preset::getAutoCompleteMatcher);
super(preset.getName(), preset.getDatasource().getIcon(), preset::getAutoCompleteMatcher);
this.preset = preset;
}