1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-23 16:28:51 -05:00

* enable/disable combo boxes depending on datasource capabilities

This commit is contained in:
Reinhard Pointner 2015-07-27 12:16:36 +00:00
parent bc87b59811
commit a8aeee2193

View File

@ -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 {