IDEX-1497. Fixed: Git history menu is inactive after opening a project i...

IDEX-1497. Fixed: Git history menu is inactive after opening a project if user haven't clicked in project explorer.