Skip to content

Commit

Permalink
Merge pull request #42 from processhacker/master
Browse files Browse the repository at this point in the history
[pull] master from processhacker:master
  • Loading branch information
pull[bot] authored Oct 13, 2020
2 parents d3d2501 + 96f2009 commit 23e98c1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions plugins/Updater/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,27 @@ INT_PTR CALLBACK TextDlgProc(
// PhCopyListViewInfoTip(getInfoTip, &tip);
// }
// break;
case NM_DBLCLK:
{
if (header->hwndFrom == context->ListViewHandle)
{
PPH_UPDATER_COMMIT_ENTRY entry;
PPH_STRING commitHashUrl;

if (entry = PhGetSelectedListViewItemParam(context->ListViewHandle))
{
if (commitHashUrl = PhConcatStrings2(
L"https://github.com/processhacker/processhacker/commit/",
PhGetString(entry->CommitHashString)
))
{
PhShellExecute(hwndDlg, PhGetString(commitHashUrl), NULL);
PhDereferenceObject(commitHashUrl);
}
}
}
}
break;
case NM_CUSTOMDRAW:
{
if (header->hwndFrom == context->ListViewHandle)
Expand Down

0 comments on commit 23e98c1

Please sign in to comment.