Skip to content

Commit fa58868

Browse files
committed
merge main to CWS
1 parent aefeabd commit fa58868

File tree

1 file changed

+1
-3
lines changed
  • plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/service

1 file changed

+1
-3
lines changed

plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/service/CodeWhispererService.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -736,15 +736,13 @@ class CodeWhispererService(private val cs: CoroutineScope) : Disposable {
736736
runInEdt {
737737
val newPopup = CodeWhispererPopupManager.getInstance().initPopup()
738738
val updatedNextStates = nextStates.copy(popup = newPopup).also {
739-
addPopupChildDisposables(it.popup)
739+
addPopupChildDisposables(it.requestContext.project, it.requestContext.editor, it.popup)
740740
Disposer.register(newPopup, it)
741741
}
742742
CodeWhispererPopupManager.getInstance().initPopupListener(updatedNextStates)
743743
CodeWhispererPopupManager.getInstance().changeStates(
744744
updatedNextStates,
745745
0,
746-
"",
747-
typeaheadAdded = true,
748746
recommendationAdded = false
749747
)
750748
cs.launch(getCoroutineBgContext()) {

0 commit comments

Comments
 (0)