Skip to content

Commit

Permalink
Idx changed to data_id
Browse files Browse the repository at this point in the history
  • Loading branch information
szczyglis-dev committed Nov 9, 2024
1 parent d8cacbd commit db114ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pygpt_net/ui/base/context_menu.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def get_copy_to_menu(self, parent, selected_text: str = None, excluded: list = N
for tab in tabs:
action = QAction(QIcon(":/icons/paste.svg"), tab.title, parent)
action.triggered.connect(lambda checked=False, tab=tab:
self.window.controller.notepad.append_text(selected_text, tab.idx))
self.window.controller.notepad.append_text(selected_text, tab.data_id))
menu.addAction(action)

# python interpreter
Expand Down

0 comments on commit db114ee

Please sign in to comment.