Skip to content

Commit 8107206

Browse files
authored
Fix ActionPlaces.isPopupPlace error (#2740)
1 parent c567942 commit 8107206

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type" : "bugfix",
3+
"description" : "Fix `ActionPlaces.isPopupPlace` error after opening the AWS connection settings menu (#2736)"
4+
}

jetbrains-core/src/software/aws/toolkits/jetbrains/core/credentials/AwsSettingsPanel.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ private class AwsSettingsPanel(private val project: Project) :
5353
@Suppress("FunctionName")
5454
override fun ID(): String = ID
5555

56-
override fun getPresentation(): StatusBarWidget.WidgetPresentation? = this
56+
override fun getPresentation(): StatusBarWidget.WidgetPresentation = this
5757

5858
override fun getTooltipText() = "${SettingsSelector.tooltipText} [${accountSettingsManager.connectionState.displayMessage}]"
5959

@@ -99,7 +99,7 @@ class SettingsSelector(private val project: Project) {
9999
dataContext,
100100
JBPopupFactory.ActionSelectionAid.SPEEDSEARCH,
101101
true,
102-
ActionPlaces.STATUS_BAR_PLACE
102+
ActionPlaces.getActionGroupPopupPlace(ID)
103103
)
104104

105105
companion object {

0 commit comments

Comments
 (0)