Skip to content

Commit 58985b0

Browse files
committed
doc str
1 parent 9d2c032 commit 58985b0

File tree

1 file changed

+1
-0
lines changed
  • plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq

1 file changed

+1
-0
lines changed

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/QLoginWebview.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ class QWebviewBrowser(val project: Project, private val parentDisposable: Dispos
338338
null
339339
}
340340

341+
// auto-select the profile if users only have 1 and don't show the UI
341342
if (profiles?.size == 1) {
342343
LOG.debug { "User only have access to 1 Q profile, auto-selecting profile ${profiles.first().profileName} for ${project.name}" }
343344
QRegionProfileManager.getInstance().switchProfile(project, profiles.first(), QProfileSwitchIntent.Update)

0 commit comments

Comments
 (0)