mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed PY-6518 Editing name of Python interpreter doesn't repaint "Python Interpreters" dialog
This commit is contained in:
@@ -326,8 +326,9 @@ public class PythonSdkDetailsDialog extends DialogWrapper {
|
||||
}
|
||||
});
|
||||
if (dialog.showAndGet()) {
|
||||
mySdkList.repaint();
|
||||
final boolean pathChanged = !Comparing.equal(currentSdk.getHomePath(), dialog.getHomePath());
|
||||
if (!currentSdk.getName().equals(dialog.getName()) || pathChanged || dialog.isAssociateChanged()) {
|
||||
if (!modificator.getName().equals(dialog.getName()) || pathChanged || dialog.isAssociateChanged()) {
|
||||
myModifiedModificators.add(modificator);
|
||||
modificator.setName(dialog.getName());
|
||||
modificator.setHomePath(dialog.getHomePath());
|
||||
|
||||
Reference in New Issue
Block a user