Skip to content

Commit

Permalink
migrate ActionPlaces.isPopupPlace usages
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 6caf1344423c8142a549d507c19e4ea40a721284
  • Loading branch information
gregsh authored and seclerp committed Aug 28, 2024
1 parent 975a723 commit 21f5726
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fun AnActionEvent.isSolutionModeContext(): Boolean {
return when {
ActionPlaces.isMainMenuOrActionSearch(place) -> true
ActionPlaces.isMainToolbar(place) -> true
ActionPlaces.isPopupPlace(place) && extension == "sln" || extension == "slnf" -> true
isFromContextMenu && extension == "sln" || extension == "slnf" -> true
else -> false
}
}
Expand Down

0 comments on commit 21f5726

Please sign in to comment.