Skip to content

Commit 195e0fc

Browse files
authored
Update AmazonQPanel.kt
1 parent 22a6527 commit 195e0fc

File tree

1 file changed

+2
-6
lines changed
  • plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonq/toolwindow

1 file changed

+2
-6
lines changed

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

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,15 +57,11 @@ class AmazonQPanel(val project: Project, private val scope: CoroutineScope) : Di
5757
AsyncChatUiListener.TOPIC,
5858
object : AsyncChatUiListener {
5959
override fun onChange(command: String) {
60-
runInEdt {
61-
browser.get()?.postChat(command)
62-
}
60+
browser.get()?.postChat(command)
6361
}
6462

6563
override fun onChange(command: FlareUiMessage) {
66-
runInEdt {
67-
browser.get()?.postChat(command)
68-
}
64+
browser.get()?.postChat(command)
6965
}
7066
}
7167
)

0 commit comments

Comments
 (0)