From 802d1235cabe74060db98d83bb160b17fba3177c Mon Sep 17 00:00:00 2001 From: William Schaefer Date: Fri, 30 Jul 2021 16:46:12 -0400 Subject: [PATCH] 7802 fix text for search in progress node --- Core/src/org/sleuthkit/autopsy/filesearch/FileSearchPanel.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Core/src/org/sleuthkit/autopsy/filesearch/FileSearchPanel.java b/Core/src/org/sleuthkit/autopsy/filesearch/FileSearchPanel.java index c76892a192..c55ab46d17 100644 --- a/Core/src/org/sleuthkit/autopsy/filesearch/FileSearchPanel.java +++ b/Core/src/org/sleuthkit/autopsy/filesearch/FileSearchPanel.java @@ -187,7 +187,7 @@ class FileSearchPanel extends javax.swing.JPanel { if (this.isValidSearch()) { // try to get the number of matches first Case currentCase = Case.getCurrentCaseThrows(); // get the most updated case - Node emptyNode = new TableFilterNode(new EmptyNode(Bundle.FileSearchPanel_emptyNode_display_text()), true); + Node emptyNode = new TableFilterNode(new EmptyNode(Bundle.FileSearchPanel_searchingNode_display_text()), true); String title = NbBundle.getMessage(this.getClass(), "FileSearchPanel.search.results.title", ++resultWindowCount); String pathText = Bundle.FileSearchPanel_searchingPath_text(); final DataResultTopComponent searchResultWin = DataResultTopComponent.createInstance(title, pathText, @@ -260,6 +260,7 @@ class FileSearchPanel extends javax.swing.JPanel { public void propertyChange(PropertyChangeEvent evt) { if (evt.getPropertyName().equals("tcClosed") && !searchWorker.isDone() && evt.getOldValue() == null) { searchWorker.cancel(true); + logger.log(Level.INFO, "User has closed the results window while search was in progress, search will be cancelled"); } } });