Perhaps this should just be special-cased to ask the user to select a task file if the master list is completely empty.
... or maybe empty task files should show up in the main list view as some special type of top-level task. This would still require some logic to determine whether to add a child or a sibling, but it seems overall a bit cleaner and more flexible.
Perhaps this should just be special-cased to ask the user to select a task file if the master list is completely empty.
... or maybe empty task files should show up in the main list view as some special type of top-level task. This would still require some logic to determine whether to add a child or a sibling, but it seems overall a bit cleaner and more flexible.