Debugger: Fix copying out of sorted thread view

This commit is contained in:
Ziemas
2025-07-16 09:47:09 +02:00
committed by lightningterror
parent 099e1f900d
commit 2ad71d046b
+2 -1
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();