mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-4594: Fixing regression with library search paths not getting saved
This commit is contained in:
parent
ce970fa416
commit
29f215348a
3 changed files with 10 additions and 17 deletions
|
@ -15,8 +15,6 @@
|
|||
*/
|
||||
package docking.widgets.pathmanager;
|
||||
|
||||
import javax.swing.JComponent;
|
||||
|
||||
import docking.DialogComponentProvider;
|
||||
|
||||
public abstract class AbstractPathsDialog extends DialogComponentProvider {
|
||||
|
@ -26,7 +24,7 @@ public abstract class AbstractPathsDialog extends DialogComponentProvider {
|
|||
protected AbstractPathsDialog(String title) {
|
||||
super(title);
|
||||
tablePanel = newPathnameTablePanel();
|
||||
addWorkPanel(buildWorkPanel());
|
||||
addWorkPanel(tablePanel);
|
||||
addOKButton();
|
||||
addCancelButton();
|
||||
setPreferredSize(600, 400);
|
||||
|
@ -44,11 +42,6 @@ public abstract class AbstractPathsDialog extends DialogComponentProvider {
|
|||
tablePanel.setPaths(paths);
|
||||
}
|
||||
|
||||
protected JComponent buildWorkPanel() {
|
||||
reset();
|
||||
return tablePanel;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void okCallback() {
|
||||
String[] paths = tablePanel.getPaths();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue