mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-24 08:48:51 -05:00
Make sure to load Groovy (i.e don't just use simple variables) before displaying the Format Editor window
This commit is contained in:
parent
527cd91a0d
commit
bc421e6b8a
@ -713,7 +713,7 @@ public class FormatDialog extends JDialog {
|
||||
try {
|
||||
// load all necessarily classes to avoid focus issues with RSyntaxTextArea
|
||||
new RSyntaxTextArea(new RSyntaxDocument(SyntaxConstants.SYNTAX_STYLE_GROOVY));
|
||||
new ExpressionFormat("{n} - {s00e00} - {t}");
|
||||
new ExpressionFormat("{n.space('.').lower()}.{s}{e.pad(2)}");
|
||||
new MediaInfo();
|
||||
} catch (Throwable e) {
|
||||
debug.log(Level.SEVERE, "Failed to initialize FormatDialog", e);
|
||||
|
Loading…
Reference in New Issue
Block a user