* fix issues reported by Ithiel
@see http://www.filebot.net/forums/viewtopic.php?f=6&t=1192&p=7177#p7177
This commit is contained in:
parent
f0616effc3
commit
6c5730dd7d
@ -392,18 +392,18 @@ public class RenamePanel extends JComponent {
|
|||||||
|
|
||||||
protected void showFormatEditor(MediaBindingBean lockOnBinding) {
|
protected void showFormatEditor(MediaBindingBean lockOnBinding) {
|
||||||
// default to Episode mode
|
// default to Episode mode
|
||||||
Mode initMode = null;
|
Mode initMode = Mode.Episode;
|
||||||
|
|
||||||
if (lockOnBinding == null || lockOnBinding.getInfoObject() instanceof Episode) {
|
if (lockOnBinding != null) {
|
||||||
initMode = Mode.Episode;
|
if (lockOnBinding.getInfoObject() instanceof Episode) {
|
||||||
} else if (lockOnBinding.getInfoObject() instanceof Movie) {
|
initMode = Mode.Episode;
|
||||||
initMode = Mode.Movie;
|
} else if (lockOnBinding.getInfoObject() instanceof Movie) {
|
||||||
} else if (lockOnBinding.getInfoObject() instanceof AudioTrack) {
|
initMode = Mode.Movie;
|
||||||
initMode = Mode.Music;
|
} else if (lockOnBinding.getInfoObject() instanceof AudioTrack) {
|
||||||
}
|
initMode = Mode.Music;
|
||||||
|
}
|
||||||
// restore previous mode
|
} else {
|
||||||
if (lockOnBinding == null) {
|
// restore previous mode
|
||||||
try {
|
try {
|
||||||
initMode = Mode.valueOf(persistentLastFormatState.getValue());
|
initMode = Mode.valueOf(persistentLastFormatState.getValue());
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
@ -73,6 +73,7 @@
|
|||||||
^Movie$
|
^Movie$
|
||||||
^Movies$
|
^Movies$
|
||||||
^Musique$
|
^Musique$
|
||||||
|
^mynas$
|
||||||
^new$
|
^new$
|
||||||
^of$
|
^of$
|
||||||
^other$
|
^other$
|
||||||
@ -100,6 +101,7 @@
|
|||||||
^Stuff$
|
^Stuff$
|
||||||
^System$
|
^System$
|
||||||
^tank$
|
^tank$
|
||||||
|
^TBR$
|
||||||
^Telechargements$
|
^Telechargements$
|
||||||
^temp$
|
^temp$
|
||||||
^temporary$
|
^temporary$
|
||||||
|
Loading…
Reference in New Issue
Block a user