Browse Source

Change default filename for paths.

Holt59 3 years ago
parent
commit
80df87ba51
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/main/org/insa/graphics/PathsPanel.java

+ 1
- 1
src/main/org/insa/graphics/PathsPanel.java View File

@@ -219,7 +219,7 @@ public class PathsPanel extends JPanel implements DrawingChangeListener, GraphCh
219 219
                 @Override
220 220
                 public void actionPerformed(ActionEvent e) {
221 221
                     String filepath = String.format("path_%s_%d_%d.path",
222
-                            path.getGraph().getMapId().toLowerCase().replaceAll("[^a-z0-9_]", "_"),
222
+                            path.getGraph().getMapId().toLowerCase().replaceAll("[^a-z0-9_]", ""),
223 223
                             path.getOrigin().getId(), path.getDestination().getId());
224 224
                     JFileChooser chooser = FileUtils.createFileChooser(FolderType.PathOutput,
225 225
                             filepath);

Loading…
Cancel
Save