mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 21:12:04 -08:00
Add support for .dek files
This commit is contained in:
parent
bb8326d46b
commit
1e39c99914
3 changed files with 55 additions and 3 deletions
|
|
@ -925,7 +925,7 @@ class ImportFilter extends FileFilter {
|
|||
ext = s.substring(i + 1).toLowerCase();
|
||||
}
|
||||
if (ext != null) {
|
||||
if (ext.toLowerCase().equals("dec") || ext.toLowerCase().equals("mwdeck") || ext.toLowerCase().equals("txt")) {
|
||||
if (ext.toLowerCase().equals("dec") || ext.toLowerCase().equals("mwdeck") || ext.toLowerCase().equals("txt") || ext.toLowerCase().equals("dek")) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
@ -934,7 +934,7 @@ class ImportFilter extends FileFilter {
|
|||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return "*.dec | *.mwDeck | *.txt";
|
||||
return "*.dec | *.mwDeck | *.txt | *.dek";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue