From a8aeee21939693d99bcc05f5a9e4bb5abf8d7fc7 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Mon, 27 Jul 2015 12:16:36 +0000 Subject: [PATCH] * enable/disable combo boxes depending on datasource capabilities --- source/net/filebot/ui/rename/PresetEditor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/ui/rename/PresetEditor.java b/source/net/filebot/ui/rename/PresetEditor.java index b5e7ad32..00929e19 100644 --- a/source/net/filebot/ui/rename/PresetEditor.java +++ b/source/net/filebot/ui/rename/PresetEditor.java @@ -41,7 +41,6 @@ import net.filebot.format.ExpressionFormat; import net.filebot.format.MediaBindingBean; import net.filebot.ui.HeaderPanel; import net.filebot.util.FileUtilities.ExtensionFileFilter; -import net.filebot.web.AnidbClient; import net.filebot.web.Datasource; import net.filebot.web.EpisodeListProvider; import net.filebot.web.MovieIdentificationService; @@ -164,6 +163,7 @@ public class PresetEditor extends JDialog { actionCombo.setSelectedItem(p.getRenameAction() == null ? StandardRenameAction.MOVE : p.getRenameAction()); selectRadio.setSelected(p.getInputFolder() != null); + updateComponentStates(); } public Preset getPreset() throws Exception {