--- a/trunk/Src/FrSelectSnippets.pas
+++ b/trunk/Src/FrSelectSnippets.pas
@@ -86,7 +86,7 @@
     @return True if category contains any snippets.
   }
 begin
-  Result := Cat.Snippets.Count > 0;
+  Result := not Cat.Snippets.IsEmpty;
 end;
 
 function TSelectSnippetsFrame.CanAddSnippetNode(