@@ -36,6 +36,10 @@ public void update(@NotNull AnActionEvent e) {
3636
3737 @ Override
3838 public void actionPerformed (@ NotNull AnActionEvent e ) {
39+ saveCurrentQueryConfiguration (e );
40+ }
41+
42+ protected void saveCurrentQueryConfiguration (@ NotNull AnActionEvent e ) {
3943 PsiFile file = e .getData (CommonDataKeys .PSI_FILE );
4044 QueryConfiguration configuration = e .getData (DQLQueryConfigurationService .DATA_QUERY_CONFIGURATION );
4145 if (configuration != null && file != null ) {
@@ -54,7 +58,7 @@ public void actionPerformed(@NotNull AnActionEvent e) {
5458 @ Override
5559 protected void updateSelectedTenant (@ NotNull String selectedTenant , @ NotNull AnActionEvent e ) {
5660 super .updateSelectedTenant (selectedTenant , e );
57- QueryConfigurationAction . this . actionPerformed (e );
61+ saveCurrentQueryConfiguration (e );
5862 }
5963
6064 @ Override
@@ -80,7 +84,7 @@ public void update(@NotNull AnActionEvent e) {
8084 @ Override
8185 public void actionPerformed (@ NotNull AnActionEvent e ) {
8286 super .actionPerformed (e );
83- QueryConfigurationAction . this . actionPerformed (e );
87+ saveCurrentQueryConfiguration (e );
8488 }
8589 });
8690 group .addAction (new QueryConfigurationOptionsAction () {
@@ -93,7 +97,7 @@ public void update(@NotNull AnActionEvent e) {
9397 @ Override
9498 public void actionPerformed (@ NotNull AnActionEvent e ) {
9599 super .actionPerformed (e );
96- QueryConfigurationAction . this . actionPerformed (e );
100+ saveCurrentQueryConfiguration (e );
97101 }
98102 });
99103 group .add (new SaveQueryConfigurationAction () {
0 commit comments