Remove setting task bucket to 0

This commit is contained in:
kolaente 2020-05-03 21:24:28 +02:00
parent 23950c0602
commit f0ac6e89be
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -706,11 +706,6 @@ func (t *Task) Update() (err error) {
if t.PercentDone == 0 {
ot.PercentDone = 0
}
// Bucket ID
// Yes it is possible to move a task back into the empty bucket
if t.BucketID == 0 {
ot.BucketID = 0
}
// Position
if t.Position == 0 {
ot.Position = 0