Issue with right cursor key in toolbar input

When entering search parameters in the toolbar dialog, and one of those parameters contains a folder slash, the right cursor changes to the actions menu.

For example,

help .txt projectA\

If I move the cursor with left key to change .txt, then try to use right cursor to change A to B, the dialog switches to actions menu instead of moving the cursor.

This behaviour will be changed: the right cursor will only activate the Actions menu when it’s at the end of the query.