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);
|
chooseModulesPanelPlace.add(chooseModulePanel.getContentPane(), BorderLayout.CENTER);
|
||||||
|
|
||||||
chooseLibraryPathPlace.setVisible(showPathPanel);
|
chooseLibraryPathPlace.setVisible(showPathPanel);
|
||||||
|
modulesSeparator.setVisible(showPathPanel);
|
||||||
|
|
||||||
updateComponents();
|
updateComponents();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -82,6 +82,10 @@ public abstract class CreateJavaScriptLibraryDialogBase extends DialogWrapper im
|
|||||||
if (!showPathToJsFilePanel) {
|
if (!showPathToJsFilePanel) {
|
||||||
copyJsFilesPlace.setVisible(false);
|
copyJsFilesPlace.setVisible(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!showPathToJarPanel && !showPathToJsFilePanel) {
|
||||||
|
modulesSeparator.setVisible(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user