mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
type is not visible on extract method dialog
This commit is contained in:
+1
-1
@@ -216,7 +216,7 @@ public abstract class ChangeSignatureDialogBase<P extends ParameterInfo, M exten
|
||||
typePanel.add(myReturnTypeField);
|
||||
|
||||
if (myMethod.canChangeReturnType() == MethodDescriptor.ReadWriteOption.ReadWrite) {
|
||||
typePanel.setPreferredSize(new Dimension(200, -1));
|
||||
myReturnTypeField.setPreferredWidth(200);
|
||||
myReturnTypeField.addDocumentListener(mySignatureUpdater);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user