Merge pull request #344 from thedmd/callstack_table-clipboard_full_location

In callstack table view, copy full location with line to clipboard
This commit is contained in:
Bartosz Taudul 2022-03-19 15:37:59 +01:00 committed by GitHub
commit f1fea0331a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14268,7 +14268,7 @@ void View::DrawCallstackTable( uint32_t callstack, bool globalEntriesButton )
TextDisabledUnformatted( LocationToString( txt, frame.line ) ); TextDisabledUnformatted( LocationToString( txt, frame.line ) );
if( ImGui::IsItemClicked() ) if( ImGui::IsItemClicked() )
{ {
ImGui::SetClipboardText( txt ); ImGui::SetClipboardText( LocationToString( txt, frame.line ) );
} }
break; break;
case 1: case 1: