summaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorGravatar Thog2016-08-25 19:57:24 +0200
committerGravatar Thog2016-08-25 19:57:24 +0200
commit759b9501e1204b91bbe8df645dbe042e6d756ce1 (patch)
treeb3e4d83fc4a8c08e276e741e4c92310f878a0cbd /src/main/java
parentAnd make ClassTransformer public so it can be used (diff)
downloadenigma-759b9501e1204b91bbe8df645dbe042e6d756ce1.tar.gz
enigma-759b9501e1204b91bbe8df645dbe042e6d756ce1.tar.xz
enigma-759b9501e1204b91bbe8df645dbe042e6d756ce1.zip
Fix mapping not beeing saving in the right directory in some case
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/cuchaz/enigma/gui/Gui.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/cuchaz/enigma/gui/Gui.java b/src/main/java/cuchaz/enigma/gui/Gui.java
index 0826f04f..29d5fec6 100644
--- a/src/main/java/cuchaz/enigma/gui/Gui.java
+++ b/src/main/java/cuchaz/enigma/gui/Gui.java
@@ -719,7 +719,7 @@ public class Gui {
719 public void saveMapping() throws IOException 719 public void saveMapping() throws IOException
720 { 720 {
721 if (this.enigmaMappingsFileChooser.getSelectedFile() != null || this.enigmaMappingsFileChooser.showSaveDialog(this.frame) == JFileChooser.APPROVE_OPTION) 721 if (this.enigmaMappingsFileChooser.getSelectedFile() != null || this.enigmaMappingsFileChooser.showSaveDialog(this.frame) == JFileChooser.APPROVE_OPTION)
722 this.controller.saveMappings(this.enigmaMappingsFileChooser.getCurrentDirectory()); 722 this.controller.saveMappings(this.enigmaMappingsFileChooser.getSelectedFile());
723 } 723 }
724 724
725 public void close() { 725 public void close() {