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

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