Skip to content

Commit a5864e9

Browse files
committed
Fix Import panel for action text
1 parent c86c2cc commit a5864e9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

modules/Neo4jPlugin/src/main/java/org/gephi/plugins/neo4j/importer/wizard/Neo4jDatabaseImporterImportPanel.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ private void checkNodeQueryActionPerformed(java.awt.event.ActionEvent evt) {
5757
}
5858
finally {
5959
this.checkNodeQuery.setEnabled(true);
60-
this.nodeActionText.setVisible(false);
60+
this.nodeActionText.setVisible(true);
6161
}
6262
}
6363

@@ -66,7 +66,7 @@ private void checkEdgeQueryActionPerformed(java.awt.event.ActionEvent evt) {
6666
this.checkEdgeQuery.setEnabled(false);
6767
try{
6868
if (Utils.isEmptyOrNull(this.edgeQuery.getText())) throw new Exception("Node query is empty");
69-
Utils.neo4jWizardCheckQuery(this.edgeQuery.getText(), Arrays.asList("id"));
69+
Utils.neo4jWizardCheckQuery(this.edgeQuery.getText(), Arrays.asList("id", "sourceId", "targetId"));
7070
this.edgeActionText.setText("Query is valid");
7171
this.edgeActionText.setForeground(Color.GREEN);
7272
}
@@ -76,7 +76,7 @@ private void checkEdgeQueryActionPerformed(java.awt.event.ActionEvent evt) {
7676
}
7777
finally {
7878
this.checkEdgeQuery.setEnabled(true);
79-
this.edgeActionText.setVisible(false);
79+
this.edgeActionText.setVisible(true);
8080
}
8181
}
8282

0 commit comments

Comments
 (0)