mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 03:37:59 +01: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:
@@ -203,7 +203,7 @@ HRESULT CPowerRenameItem::_Init(_In_ IShellItem* psi)
|
||||
HRESULT hr = psi->GetDisplayName(SIGDN_FILESYSPATH, &m_path);
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
hr = psi->GetDisplayName(SIGDN_NORMALDISPLAY, &m_originalName);
|
||||
hr = SHStrDup(PathFindFileName(m_path), &m_originalName);
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
// Check if we are a folder now so we can check this attribute quickly later
|
||||
|
||||
Reference in New Issue
Block a user