mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-10 20:30:24 +00:00
fix: refresh chat actions upon apply
This commit is contained in:
parent
276e3db7b9
commit
71489db427
2 changed files with 2 additions and 1 deletions
|
|
@ -41,7 +41,6 @@ public class ConfigurationConfigurable implements Configurable {
|
|||
public void apply() {
|
||||
ApplicationManager.getApplication().getService(ConfigurationSettings.class)
|
||||
.loadState(component.getCurrentFormState());
|
||||
EditorActionsUtil.refreshActions();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
package ee.carlrobert.codegpt.settings.prompts
|
||||
|
||||
import com.intellij.openapi.options.Configurable
|
||||
import ee.carlrobert.codegpt.actions.editor.EditorActionsUtil
|
||||
import ee.carlrobert.codegpt.settings.prompts.form.PromptsForm
|
||||
import javax.swing.JComponent
|
||||
|
||||
|
|
@ -21,6 +22,7 @@ class PromptsConfigurable : Configurable {
|
|||
|
||||
override fun apply() {
|
||||
component.applyChanges()
|
||||
EditorActionsUtil.refreshActions()
|
||||
}
|
||||
|
||||
override fun reset() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue