Skip to content

Commit cc6ed15

Browse files
committed
Jump to new modification when started
1 parent 2398a9c commit cc6ed15

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Core/Sources/SuggestionWidget/FeatureReducers/PromptToCodeGroup.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ public struct PromptToCodeGroup {
6363
case let .createPromptToCode(newPromptToCode, sendImmediately):
6464
// insert at 0 so it has high priority then the other detached prompt to codes
6565
state.promptToCodes.append(newPromptToCode)
66+
state.selectedTabId = newPromptToCode.id
6667
return .run { send in
6768
if sendImmediately,
6869
!newPromptToCode.contextInputController.instruction.string.isEmpty

0 commit comments

Comments
 (0)