Fix context in command palette from application menu (#14599)

Supercedes #14468

Release Notes:

- linux: Fixed the command palette when opened from the application menu
1fe16f42eaConrad Irwin committed on 7/16/2024, 9:14:18 PM· committed by GitHubparent448ef53
1 file changedLine totals unavailable