Skip to content

Commit

Permalink
Bug Fix: Ask before overwriting a route + order routes alphabetical
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenGnu committed Aug 6, 2020
1 parent bfede29 commit 9f5dda2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import net.nikr.eve.jeveasset.gui.tabs.routing.SolarSystem;

public class RoutingSettings {
private double secMin;
private double secMax;
private final Map<Long, SolarSystem> avoid = new HashMap<Long, SolarSystem>();
private final Map<String, Set<Long>> presets = new HashMap<String, Set<Long>>();
private final Map<String, RouteResult> routes = new HashMap<String, RouteResult>();
private final Map<String, RouteResult> routes = new TreeMap<String, RouteResult>();

public RoutingSettings() {
secMin = 0.0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
public class JRouteSaveDialog extends JAutoCompleteDialog<String> {

public JRouteSaveDialog(Program program) {
super(program, TabsRouting.get().routeSaveTitle(), Images.TOOL_ROUTING.getImage(), TabsRouting.get().routeSaveMsg(), false, true);
super(program, TabsRouting.get().routeSaveTitle(), Images.TOOL_ROUTING.getImage(), TabsRouting.get().routeSaveMsg(), false, false);
}

@Override
Expand Down

0 comments on commit 9f5dda2

Please sign in to comment.