Ensure the context menu works after a server is renamed. Fixes #3575

This commit is contained in:
Aditya Toshniwal 2019-01-10 11:52:52 +05:30 committed by Dave Page
parent 01b87d4834
commit f7fa18f827
2 changed files with 2 additions and 1 deletions

View File

@ -14,5 +14,6 @@ Features
Bug fixes
*********
| `Bug #3575 <https://redmine.postgresql.org/issues/3575>`_ - Ensure the context menu works after a server is renamed.
| `Bug #3842 <https://redmine.postgresql.org/issues/3842>`_ - Don't show system catalogs in the schemas property list unless show system objects is enabled.
| `Bug #3861 <https://redmine.postgresql.org/issues/3861>`_ - Fix help for the backup/restore dialogues.

View File

@ -135,7 +135,7 @@ export class Tree {
}
const oldNode = this.findNode(oldNodePath);
if (oldNode !== null) {
oldNode.data = Object.assign({}, data);
oldNode.data = data;
return oldNode;
}