Fixed #1827 Video replacing VP6 reading

This commit is contained in:
Jindra Petřík
2022-12-29 12:46:40 +01:00
parent 7d548fca30
commit 32807b826d
3 changed files with 3 additions and 0 deletions

View File

@@ -4276,6 +4276,7 @@ public final class MainPanel extends JPanel implements TreeSelectionListener, Se
new MovieImporter().importMovie(movie, Helper.readFile(selfile.getAbsolutePath()));
refreshTree();
} catch (IOException ex) {
logger.log(Level.SEVERE, "Invalid movie", ex);
ViewMessages.showMessageDialog(MainPanel.this, translate("error.movie.invalid") + ": "+ex.getMessage(), translate("error"), JOptionPane.ERROR_MESSAGE);
}
}