GP-1244 - Fixed missing Graph menu mnemonic

This commit is contained in:
dragonmacher 2021-08-24 13:46:31 -04:00
parent a32326571f
commit a89f27c994
5 changed files with 45 additions and 44 deletions

View file

@ -253,7 +253,6 @@ public class GraphExporterDialog extends DialogComponentProvider {
@Override
protected void okCallback() {
AttributedGraphExporter exporter = getSelectedExporter();
setLastExportDirectory(getSelectedOutputFile());
if (doExport()) {
close();
@ -273,10 +272,10 @@ public class GraphExporterDialog extends DialogComponentProvider {
File outputFile = getSelectedOutputFile();
if (outputFile.exists() &&
OptionDialog.showOptionDialog(getComponent(), "Overwrite Existing File?",
"The file " + outputFile + " already exists.\nDo you want to overwrite it?",
"Overwrite", OptionDialog.QUESTION_MESSAGE) != OptionDialog.OPTION_ONE) {
return false;
OptionDialog.showOptionDialog(getComponent(), "Overwrite Existing File?",
"The file " + outputFile + " already exists.\nDo you want to overwrite it?",
"Overwrite", OptionDialog.QUESTION_MESSAGE) != OptionDialog.OPTION_ONE) {
return false;
}
try {