diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 78dab64..fafc2b5 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -9,9 +9,8 @@
-
-
-
+
+
@@ -56,41 +55,27 @@
-
-
+
+
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -187,8 +172,6 @@
-
-
@@ -207,6 +190,8 @@
+
+
@@ -251,6 +236,7 @@
+
@@ -285,7 +271,6 @@
-
@@ -300,7 +285,7 @@
-
+
@@ -538,14 +523,9 @@
-
-
-
- 1545361072926
-
-
-
- 1545361072926
+
+
+
1545420806001
@@ -883,11 +863,18 @@
1547847834651
-
+
+ 1547848576090
+
+
+
+ 1547848576090
+
+
-
+
@@ -901,7 +888,7 @@
-
+
@@ -920,7 +907,7 @@
-
+
@@ -1027,7 +1014,6 @@
-
@@ -1052,20 +1038,14 @@
-
+
+
-
-
-
-
-
-
-
@@ -1212,23 +1192,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1296,49 +1259,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -1813,6 +1733,60 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dist/caja.jar b/dist/caja.jar
index fb55728..8a92ab4 100644
Binary files a/dist/caja.jar and b/dist/caja.jar differ
diff --git a/src/danielcortes/xyz/controllers/InformesController.java b/src/danielcortes/xyz/controllers/InformesController.java
index 89676be..7cfe5cb 100644
--- a/src/danielcortes/xyz/controllers/InformesController.java
+++ b/src/danielcortes/xyz/controllers/InformesController.java
@@ -125,8 +125,8 @@ public class InformesController {
chooser.setFileFilter(new FileNameExtensionFilter("Excel 2007", "xls"));
if (chooser.showSaveDialog(this.view.getContentPanel()) == JFileChooser.APPROVE_OPTION) {
- String filename = chooser.getSelectedFile().toString();
- if (FileUtils.isValidPath(filename)) {
+ String filename = chooser.getSelectedFile().getPath();
+ if (!FileUtils.isValidPath(filename)) {
JOptionPane.showMessageDialog(this.view.getContentPanel(),"El archivo seleccionado no es valido","Archivo no valido", JOptionPane.ERROR_MESSAGE);
return null;
} else if (!filename.endsWith(".xls")) {
diff --git a/src/danielcortes/xyz/utils/FileUtils.java b/src/danielcortes/xyz/utils/FileUtils.java
index de26c94..a1ee472 100644
--- a/src/danielcortes/xyz/utils/FileUtils.java
+++ b/src/danielcortes/xyz/utils/FileUtils.java
@@ -32,6 +32,7 @@ public class FileUtils {
try {
Paths.get(path);
} catch (InvalidPathException | NullPointerException ex) {
+ ex.printStackTrace();
return false;
}
return true;