From 520717d880284b5ea49be16ee4bf9d7a9074da0a Mon Sep 17 00:00:00 2001 From: Jeremy Wootten Date: Wed, 24 Jan 2024 16:04:47 +0000 Subject: [PATCH] Account for SourceList weirdness --- src/FolderManager/FolderItem.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/FolderManager/FolderItem.vala b/src/FolderManager/FolderItem.vala index 1b162132e..2c82c4d73 100644 --- a/src/FolderManager/FolderItem.vala +++ b/src/FolderManager/FolderItem.vala @@ -131,8 +131,9 @@ namespace Scratch.FolderManager { if (view.editing) { return Source.CONTINUE; } else { - selectable = false; view.unselect_all (); + // Must do this *after* unselecting all else sourcelist breaks + selectable = false; } return Source.REMOVE;