[Win11]Also show old context menus (#19249)

This commit is contained in:
Jaime Bernardo
2022-07-11 16:40:34 +01:00
committed by GitHub
parent db06840338
commit ad28c41c46
2 changed files with 0 additions and 8 deletions

View File

@@ -2,7 +2,6 @@
#include "pch.h"
#include "ContextMenuHandler.h"
#include <ImageResizerConstants.h>
#include <Settings.h>
#include <trace.h>
@@ -70,9 +69,6 @@ HRESULT CContextMenuHandler::QueryContextMenu(_In_ HMENU hmenu, UINT indexMenu,
if (!CSettingsInstance().GetEnabled())
return E_FAIL;
if (package::IsWin11OrGreater() && package::IsPackageRegistered(ImageResizerConstants::ModulePackageDisplayName))
return E_FAIL;
// NB: We just check the first item. We could iterate through more if the first one doesn't meet the criteria
HDropIterator i(m_pdtobj);
i.First();