GP-4583 Fixed issue where open program were not being shown when the OpenVersionedFileDialog was being shown from diff

This commit is contained in:
ghidragon 2024-05-10 13:19:21 -04:00
parent c4ea004218
commit a3f16ff05f
30 changed files with 790 additions and 661 deletions

View file

@ -15,6 +15,8 @@
*/
package help.screenshot;
import static ghidra.framework.main.DataTreeDialogType.*;
import java.awt.*;
import java.awt.image.BufferedImage;
import java.io.File;
@ -61,7 +63,7 @@ public class ReferencesPluginScreenShots extends GhidraScreenShotGenerator {
runSwing(() -> {
DataTreeDialog dialog = new DataTreeDialog(tool.getToolFrame(),
"Choose External Program (" + "Kernel32.dll" + ")", DataTreeDialog.OPEN);
"Choose External Program (" + "Kernel32.dll" + ")", OPEN);
tool.showDialog(dialog);
}, false);
captureDialog();