|
@@ -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);
|