mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-0: Fixing exception with library folder selection
This commit is contained in:
parent
f9b9516e4c
commit
a9baf9f6d8
1 changed files with 2 additions and 1 deletions
|
@ -271,7 +271,8 @@ public class OptionsEditorPanel extends JPanel {
|
|||
button.addActionListener(e -> {
|
||||
DataTreeDialog dataTreeDialog =
|
||||
new DataTreeDialog(this, "Choose a project folder", DataTreeDialog.CHOOSE_FOLDER);
|
||||
dataTreeDialog.setSelectedFolder(project.getProjectData().getFolder(lastFolderPath));
|
||||
String folderPath = lastFolderPath.isBlank() ? "/" : lastFolderPath;
|
||||
dataTreeDialog.setSelectedFolder(project.getProjectData().getFolder(folderPath));
|
||||
dataTreeDialog.showComponent();
|
||||
DomainFolder folder = dataTreeDialog.getDomainFolder();
|
||||
if (folder != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue