From 829862445e417584516d075d1046b763d1342ddb Mon Sep 17 00:00:00 2001 From: Alain Date: Thu, 22 Feb 2024 06:09:14 -0500 Subject: [PATCH] fix lint --- src/Layouts/SectionRow.vala | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Layouts/SectionRow.vala b/src/Layouts/SectionRow.vala index 7bc7b3ae7..3ce325f5f 100644 --- a/src/Layouts/SectionRow.vala +++ b/src/Layouts/SectionRow.vala @@ -331,10 +331,12 @@ public class Layouts.SectionRow : Gtk.ListBoxRow { items_checked [item.id].hide_destroy (); items_checked.unset (item.id); } - }: + } // vala-lint=no-space - if (item.project_id == section.project_id && item.section_id == section.id && item.parent_id == "") { + if (item.project_id == section.project_id && + item.section_id == section.id && + item.parent_id == "") { add_item (item); } }); @@ -361,8 +363,8 @@ public class Layouts.SectionRow : Gtk.ListBoxRow { } // vala-lint=no-space - if (row.item.project_id == section.project_id && - row.item.section_id != section.id && + if (row.item.project_id == section.project_id && + row.item.section_id != section.id && old_section_id == section.id) { if (items.has_key (row.item.id)) { items.unset (row.item.id);