diff --git a/addon/globalPlugins/openai/maindialog.py b/addon/globalPlugins/openai/maindialog.py index 309046e..6bf719c 100644 --- a/addon/globalPlugins/openai/maindialog.py +++ b/addon/globalPlugins/openai/maindialog.py @@ -1070,6 +1070,8 @@ def onModelKeyDown(self, evt): self.onFavoriteModel(evt) elif evt.GetModifiers() == wx.MOD_NONE: self.showModelDetails() + elif evt.GetKeyCode() == wx.WXK_RETURN: + self.onSubmit(evt) else: evt.Skip()