Skip to content

Commit 6c1632f

Browse files
author
Xiao Chen
committed
fix(amazonq): open diff in a new tab when another modal is open
1 parent 325d1d7 commit 6c1632f

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
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" : "Amazon Q /doc: fix open diff in a tab when another modal is open"
4+
}

plugins/amazonq/chat/jetbrains-community/src/software/aws/toolkits/jetbrains/services/amazonqDoc/controller/DocController.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,7 @@ class DocController(
371371
}
372372

373373
override suspend fun processOpenDiff(message: IncomingDocMessage.OpenDiff) {
374+
this.toolWindow?.activate(null)
374375
val session = getSessionInfo(message.tabId)
375376

376377
val project = context.project

0 commit comments

Comments
 (0)