Skip to content

Commit

Permalink
Update LineEntryMenu.java
Browse files Browse the repository at this point in the history
  • Loading branch information
bit4woo committed May 14, 2024
1 parent c2cf65a commit 05a68cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PoC/LineEntryMenu.java
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ public void actionPerformed(ActionEvent actionEvent) {
LineEntry entry = lineTable.getLineTabelModel().getLineEntries().getValueAtIndex(rows[0]);
String tags = entry.getTags();
try {//用户搜索什么内容,很有可能就是要用什么PoC
String searchWord = PoCPanel.getTextFieldSearch().getText();
String searchWord = PoCPanel.getTextFieldSearch().getText().toLowerCase();
List<String> tagList = Arrays.asList(tags.split(","));
if (tagList.contains(searchWord)) {
tags = searchWord;
Expand Down Expand Up @@ -217,7 +217,7 @@ public void actionPerformed(ActionEvent actionEvent) {
LineEntry entry = lineTable.getLineTabelModel().getLineEntries().getValueAtIndex(rows[0]);
String tags = entry.getTags();
try {//用户搜索什么内容,很有可能就是要用什么PoC
String searchWord = PoCPanel.getTextFieldSearch().getText();
String searchWord = PoCPanel.getTextFieldSearch().getText().toLowerCase();
List<String> tagList = Arrays.asList(tags.split(","));
if (tagList.contains(searchWord)) {
tags = searchWord;
Expand Down

0 comments on commit 05a68cc

Please sign in to comment.