mirror of
https://github.com/YimMenu/YimMenuV2.git
synced 2026-10-11 01:38:13 +08:00
actually fix PR
This commit is contained in:
1 parent
2d3244c4ab
commit
e8d37c8d7b
1 file changed
+1
-1
@@ -24,7 +24,7 @@ namespace YimMenu::Submenus
|
||||
for (auto& [hash, command] : Commands::GetCommands())
|
||||
{
|
||||
if (auto it = g_HotkeySystem.m_CommandHotkeys.find(hash); it != g_HotkeySystem.m_CommandHotkeys.end())
|
||||
sortedCommands.emplace(command->GetLabel(), it->second);
|
||||
sortedCommands.emplace(command->GetLabel(), &it->second);
|
||||
}
|
||||
return true;
|
||||
}();
|
||||
|
||||
Reference in new issue
Block a user