OSDN Git Service

Skip tag counting when the list has not been refreshed.
[neighbornote/NeighborNote.git] / src / cx / fbn / nevernote / NeverNote.java
index 045866f..f09c79d 100644 (file)
@@ -1912,7 +1912,8 @@ public class NeverNote extends QMainWindow{
                logger.log(logger.HIGH, "Entering NeverNote.reloadTagTree");
                tagIndexUpdated(reload);
                boolean filter = false;
-               listManager.countTagResults(listManager.getNoteIndex());
+               if (reload)
+                       listManager.countTagResults(listManager.getNoteIndex());
                if (notebookTree.selectedItems().size() > 0 
                                                  && !notebookTree.selectedItems().get(0).text(0).equalsIgnoreCase("All Notebooks"))
                                                  filter = true;