[DEVMGR] Ensure clicking on item when opening property sheet (#4196)

Fix a bug related to the device manager, where double-clicking anywhere when an item is already selected opens the property sheet.

CORE-17207
This commit is contained in:
Jesús Sanz del Rey
2021-12-29 16:52:41 +01:00
committed by GitHub
parent dc483bd700
commit 5831427ef9
3 changed files with 26 additions and 1 deletions

View File

@@ -515,7 +515,7 @@ CDeviceManager::OnNotify(_In_ LPARAM lParam)
case NM_DBLCLK:
{
m_DeviceView->DisplayPropertySheet();
Ret = m_DeviceView->OnDoubleClick(NmHdr);
break;
}