src/Lsp.vala
authorAlan Knowles <alan@roojs.com>
Thu, 21 Mar 2024 14:25:53 +0000 (22:25 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 Mar 2024 14:25:53 +0000 (22:25 +0800)
src/Lsp.vala

index 15d3df1..a06d4d2 100644 (file)
@@ -496,11 +496,14 @@ namespace Lsp {
                                        i++;
                                        continue;
                                }
-                               GLib.debug("copyList same = updateChildren %s", sel.name);
+
                                if (sel.children.get_n_items() < 1 && tel.children.get_items() < 1) {
                                        i++;
+                                       GLib.debug("copyList same  noChlidren %s", sel.name);
                                        continue;
+
                                }
+                               GLib.debug("copyList same = updateChildren %s", sel.name);
                                //
                                        // they are the same (ignoring children
                                copyList(sel.children,tel.children);