Skip to content

Commit

Permalink
Add additional check got MAIN_MENU action place
Browse files Browse the repository at this point in the history
  • Loading branch information
seclerp committed Jan 9, 2023
1 parent 03692a3 commit bed0aff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fun AnActionEvent.isEfCoreActionContext(): Boolean {

// Case when we are presenting action from Tools application menu entry (always visible)
val actionFile = getData(PlatformDataKeys.VIRTUAL_FILE)
if (!ActionPlaces.isPopupPlace(place) || actionFile == null) {
if (ActionPlaces.MAIN_MENU == place || !ActionPlaces.isPopupPlace(place) || actionFile == null) {
return true
}

Expand Down

0 comments on commit bed0aff

Please sign in to comment.