GP-4594: Fixing regression with library search paths not getting saved

This commit is contained in:
Ryan Kurtz 2024-05-13 07:15:25 -04:00
parent ce970fa416
commit 29f215348a
3 changed files with 10 additions and 17 deletions

View file

@ -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();