From 701995b9e68d1e7c23b97a3fc737eabb7c1fd17c Mon Sep 17 00:00:00 2001 From: Benjamin Auquite Date: Sat, 6 Jul 2024 15:50:56 -0500 Subject: [PATCH] fix another clumsy mistake --- Tools/HolocronToolset/src/toolset/gui/editors/dlg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/HolocronToolset/src/toolset/gui/editors/dlg.py b/Tools/HolocronToolset/src/toolset/gui/editors/dlg.py index ce543ccc2..0724715c5 100644 --- a/Tools/HolocronToolset/src/toolset/gui/editors/dlg.py +++ b/Tools/HolocronToolset/src/toolset/gui/editors/dlg.py @@ -4171,7 +4171,7 @@ def _getLinkContextMenu( pasteLinkAction.setEnabled(False) pasteNewAction.setEnabled(False) else: - copied_node_type = "Entry" if isinstance(self._copy, DLGEntry) else "Reply" + copied_node_type = "Entry" if isinstance(self._copy.node, DLGEntry) else "Reply" pasteLinkAction.setText(f"Paste {copied_node_type} from Clipboard as Link") pasteNewAction.setText(f"Paste {copied_node_type} from Clipboard as Deep Copy") if node_type == copied_node_type: