1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-15 22:05:00 -05:00

showInputDialog

This commit is contained in:
Reinhard Pointner 2016-11-27 04:58:19 +08:00
parent 84d728a45b
commit 5f49f53ec3

View File

@ -564,7 +564,7 @@ public abstract class ScriptShellBaseClass extends Script {
return (RenameAction) DefaultTypeTransformation.castToType(obj, RenameAction.class); return (RenameAction) DefaultTypeTransformation.castToType(obj, RenameAction.class);
} }
public <T> T getUserChoice(Collection<T> options, String title, String message) throws Exception { public <T> T showInputDialog(Collection<T> options, String title, String message) throws Exception {
if (options.isEmpty()) { if (options.isEmpty()) {
return null; return null;
} }