This patch retrieves the list of shortcuts associated with a tool ID. I've tested it with the Underground View tool, and it works fine.
I've removed the previous function because the list allows you to do the same thing and more.
Edit.
Update parch.
I've moved this patch to a separate topic. ;)
Comparing two plainstrings will compare their char pointers, not their content. Not sure if the code works by accident.
Quote from: prissi on August 03, 2026, 06:44:05 PMComparing two plainstrings will compare their char pointers, not their content. Not sure if the code works by accident.
So let's use strcmp, (I think Java has spoiled me).
0001-get-shortcut-key-list.patch