Bug Fixes for PowerRename (#614)

* Bug Fixes

Fixes include:
* Pass parent HWND to UI so dialog is no longer appearing in top corner all the time
* Fix duplicate entries for PowerRename in context menu for shortcuts
* Fix crashing bug due to telemetry not getting unregistered on unload
* Ensure we show the file extension in the UI even if extensions are hidden in Windows Explorer

* Update PowerRenameExt.cpp

Fix missed line to set parent HWND
This commit is contained in:
Chris Davis
2019-10-31 06:57:38 -07:00
committed by GitHub
parent e6afd33621
commit c1957272ea
7 changed files with 37 additions and 25 deletions

View File

@@ -89,9 +89,9 @@ HRESULT CPowerRenameUI::s_CreateInstance(_In_ IPowerRenameManager* psrm, _In_opt
}
// IPowerRenameUI
IFACEMETHODIMP CPowerRenameUI::Show()
IFACEMETHODIMP CPowerRenameUI::Show(_In_opt_ HWND hwndParent)
{
return _DoModal(NULL);
return _DoModal(hwndParent);
}
IFACEMETHODIMP CPowerRenameUI::Close()