Skip to content

Commit 3823da7

Browse files
authored
No parent refresh
1 parent 25b40e1 commit 3823da7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ui/views/objectBrowser.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -737,8 +737,10 @@ export function initializeObjectBrowser(context: vscode.ExtensionContext) {
737737
});
738738

739739
if (changeResult.code === 0) {
740+
//pre updating description to avoid old description when multiple updates are performed without refreshing
740741
node.description = newText.toUpperCase() !== `*BLANK` ? newText : ``;
741-
objectBrowser.refresh(node.parent?.parent);
742+
node.member.text = newText.toUpperCase() !== `*BLANK` ? newText : ``;
743+
objectBrowser.refresh(node);
742744
} else {
743745
vscode.window.showErrorMessage(vscode.l10n.t(`Error changing member description! {0}`, changeResult.stderr));
744746
}

0 commit comments

Comments
 (0)