Don't show separator in CreateLibrary dialog when paths aren't shown
This commit is contained in:
@@ -41,6 +41,7 @@ public class CreateJavaLibraryDialogWithModules extends CreateJavaLibraryDialogB
|
||||
chooseModulesPanelPlace.add(chooseModulePanel.getContentPane(), BorderLayout.CENTER);
|
||||
|
||||
chooseLibraryPathPlace.setVisible(showPathPanel);
|
||||
modulesSeparator.setVisible(showPathPanel);
|
||||
|
||||
updateComponents();
|
||||
}
|
||||
|
||||
@@ -82,6 +82,10 @@ public abstract class CreateJavaScriptLibraryDialogBase extends DialogWrapper im
|
||||
if (!showPathToJsFilePanel) {
|
||||
copyJsFilesPlace.setVisible(false);
|
||||
}
|
||||
|
||||
if (!showPathToJarPanel && !showPathToJsFilePanel) {
|
||||
modulesSeparator.setVisible(false);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user