From 861b0e1b1266511888f7102323f97fd9cb4e5193 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Mon, 23 Nov 2015 13:27:28 +0000 Subject: [PATCH] * add icon for List panel Create button --- source/net/filebot/ui/list/ListPanel.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/net/filebot/ui/list/ListPanel.java b/source/net/filebot/ui/list/ListPanel.java index b42db03f..3d1fd651 100644 --- a/source/net/filebot/ui/list/ListPanel.java +++ b/source/net/filebot/ui/list/ListPanel.java @@ -28,6 +28,7 @@ import javax.swing.JTextField; import javax.swing.KeyStroke; import javax.swing.SpinnerNumberModel; +import net.filebot.ResourceManager; import net.filebot.format.ExpressionFormat; import net.filebot.similarity.SeriesNameMatcher; import net.filebot.ui.FileBotList; @@ -84,7 +85,7 @@ public class ListPanel extends JComponent { SwingUI.installAction(this, KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0), createAction); } - private AbstractAction createAction = new AbstractAction("Create") { + private AbstractAction createAction = new AbstractAction("Create", ResourceManager.getIcon("action.export")) { @Override public void actionPerformed(ActionEvent evt) {