Update ContinuePluginActions.kt

This commit is contained in:
Test 2024-10-07 18:01:54 -07:00
parent beab5074b2
commit 3797f87f0c

View file

@ -113,7 +113,6 @@ class FocusContinueInputAction : AnAction() {
class NewContinueSessionAction : AnAction() {
override fun actionPerformed(e: AnActionEvent) {
val continuePluginService = getContinuePluginService(e.project) ?: return
continuePluginService.continuePluginWindow?.content?.components?.get(0)?.requestFocus()
continuePluginService.sendToWebview("focusContinueInputWithNewSession", null)
}
@ -121,7 +120,7 @@ class NewContinueSessionAction : AnAction() {
class ViewHistoryAction : AnAction() {
override fun actionPerformed(e: AnActionEvent) {
val continuePluginService = getPluginService(e.project) ?: return
val continuePluginService = getContinuePluginService(e.project) ?: return
continuePluginService.sendToWebview("viewHistory", null)
}
}