Debugger: Fix copying out of sorted thread view

This commit is contained in:
Ziemas 2025-07-16 04:09:45 +02:00 committed by lightningterror
parent 099e1f900d
commit 2ad71d046b
1 changed files with 2 additions and 1 deletions

View File

@ -58,7 +58,8 @@ void ThreadView::openContextMenu(QPoint pos)
if (!selection_model->hasSelection())
return;
QGuiApplication::clipboard()->setText(m_model->data(selection_model->currentIndex()).toString());
auto real_index = m_proxy_model->mapToSource(selection_model->currentIndex());
QGuiApplication::clipboard()->setText(m_model->data(real_index).toString());
});
menu->addSeparator();