Error when opening the View ToDo List dialog box using a keyboard shortcut
lazarus 4.99-ccd4fb181f/fpc 3.3.1-809e33c683
<br><br>
Windows 10 x86_64
<br><br>
Calling the dialog for viewing the available ToDo code sections using any assigned keyboard shortcut generates an error:
"Invalid type cast: TKeyCommandRelation is not a TIDEMenuCommand."
{width=417 height=252}
If you open the dialog via the corresponding menu item (View --> ToDo List), the error is not triggered.
### How to reproduce
1. Install the todolistlaz.lpk package (Package --> Install/Uninstall packages).
2. Assign any keyboard shortcut that is not used for the View ToDo List action (for example, `Alt`+`Shift`+`T`) and save the settings.
3. Try opening the View ToDo List dialog box using this keyboard shortcut.
issue