mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-06 03:07:04 +02:00
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:
@@ -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()
|
||||
|
||||
@@ -45,7 +45,7 @@ public:
|
||||
IFACEMETHODIMP_(ULONG) Release();
|
||||
|
||||
// IPowerRenameUI
|
||||
IFACEMETHODIMP Show();
|
||||
IFACEMETHODIMP Show(_In_opt_ HWND hwndParent);
|
||||
IFACEMETHODIMP Close();
|
||||
IFACEMETHODIMP Update();
|
||||
IFACEMETHODIMP get_hwnd(_Out_ HWND* hwnd);
|
||||
|
||||
Reference in New Issue
Block a user