mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-1244 - Fixed missing Graph menu mnemonic
This commit is contained in:
parent
a32326571f
commit
a89f27c994
5 changed files with 45 additions and 44 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue