From c960fd85a71fb19897a882a5bcad8f8d170b1522 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 3 Mar 2017 21:27:13 +0800 Subject: [PATCH] Use database icon for custom Presets instead of the generic "Run Script" icon --- source/net/filebot/ui/rename/RenamePanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/ui/rename/RenamePanel.java b/source/net/filebot/ui/rename/RenamePanel.java index 39c1a235..ddaa2925 100644 --- a/source/net/filebot/ui/rename/RenamePanel.java +++ b/source/net/filebot/ui/rename/RenamePanel.java @@ -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; }