We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 528da71 commit e49ce5eCopy full SHA for e49ce5e
ui/jetbrains/src/main/java/com/neueda/jetbrains/plugin/graphdb/jetbrains/ui/console/GraphConsoleView.java
@@ -152,9 +152,12 @@ private void createUIComponents() {
152
public void mouseReleased(MouseEvent e) {
153
if (UIUtil.isCloseClick(e, MouseEvent.MOUSE_RELEASED)) {
154
final TabInfo info = consoleTabs.findInfo(e);
155
- if (info != null && info.getText().startsWith("Query ")) {
156
- IdeEventQueue.getInstance().blockNextEvents(e);
157
- consoleTabs.removeTab(info);
+ if (info != null) {
+ String tabTitle = info.getText();
+ if (tabTitle.startsWith("Profile") || tabTitle.startsWith("Explain")) {
158
+ IdeEventQueue.getInstance().blockNextEvents(e);
159
+ consoleTabs.removeTab(info);
160
+ }
161
}
162
163
0 commit comments