diff --git a/src/client/application/geary-controller.vala b/src/client/application/geary-controller.vala index 8a498cde..0d66b72a 100644 --- a/src/client/application/geary-controller.vala +++ b/src/client/application/geary-controller.vala @@ -2778,7 +2778,7 @@ public class GearyController : Geary.BaseObject { // if folder contains children, we must ensure that there is at least one of the same type Geary.SpecialFolderType type = folder.special_folder_type; foreach (Geary.Folder other in all) { - if (other.special_folder_type == type && other.path.get_parent() == folder.path) + if (other.special_folder_type == type && other.path.parent == folder.path) return true; }