File tree Expand file tree Collapse file tree
Core/Sources/SuggestionWidget Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -252,6 +252,7 @@ public extension SuggestionWidgetController {
252252 suggestionPanelViewModel. content = . suggestion( suggestion)
253253 chatWindowViewModel. isPanelDisplayed = true
254254 suggestionPanelViewModel. isPanelDisplayed = true
255+ panelWindow. orderFront ( nil )
255256 }
256257 }
257258 }
@@ -272,6 +273,7 @@ public extension SuggestionWidgetController {
272273 chatWindowViewModel. isPanelDisplayed = true
273274 suggestionPanelViewModel. isPanelDisplayed = true
274275 widgetViewModel. isProcessing = false
276+ panelWindow. orderFront ( nil )
275277 }
276278
277279 func presentChatRoom( fileURL: URL ) {
@@ -291,6 +293,7 @@ public extension SuggestionWidgetController {
291293 // looks like we need a delay.
292294 try await Task . sleep ( nanoseconds: 150_000_000 )
293295 NSApplication . shared. activate ( ignoringOtherApps: true )
296+ panelWindow. orderFront ( nil )
294297 }
295298 }
296299 }
@@ -315,6 +318,7 @@ public extension SuggestionWidgetController {
315318 // looks like we need a delay.
316319 try await Task . sleep ( nanoseconds: 150_000_000 )
317320 NSApplication . shared. activate ( ignoringOtherApps: true )
321+ panelWindow. orderFront ( nil )
318322 }
319323 }
320324 }
You can’t perform that action at this time.
0 commit comments