* 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) {
|
||||
// default to Episode mode
|
||||
Mode initMode = null;
|
||||
Mode initMode = Mode.Episode;
|
||||
|
||||
if (lockOnBinding == null || lockOnBinding.getInfoObject() instanceof Episode) {
|
||||
if (lockOnBinding != null) {
|
||||
if (lockOnBinding.getInfoObject() instanceof Episode) {
|
||||
initMode = Mode.Episode;
|
||||
} else if (lockOnBinding.getInfoObject() instanceof Movie) {
|
||||
initMode = Mode.Movie;
|
||||
} else if (lockOnBinding.getInfoObject() instanceof AudioTrack) {
|
||||
initMode = Mode.Music;
|
||||
}
|
||||
|
||||
} else {
|
||||
// restore previous mode
|
||||
if (lockOnBinding == null) {
|
||||
try {
|
||||
initMode = Mode.valueOf(persistentLastFormatState.getValue());
|
||||
} catch (Exception e) {
|
||||
|
|
|
@ -73,6 +73,7 @@
|
|||
^Movie$
|
||||
^Movies$
|
||||
^Musique$
|
||||
^mynas$
|
||||
^new$
|
||||
^of$
|
||||
^other$
|
||||
|
@ -100,6 +101,7 @@
|
|||
^Stuff$
|
||||
^System$
|
||||
^tank$
|
||||
^TBR$
|
||||
^Telechargements$
|
||||
^temp$
|
||||
^temporary$
|
||||
|
|
Loading…
Reference in New Issue