QTodoTxt / QTodoTxt2

Rewrite of GUI code of QTodoTxt using qml.
http://qtodotxt.org
175 stars 34 forks source link

restore selection after operations on tasklist #47

Open fuchsmich opened 7 years ago

fuchsmich commented 7 years ago

Opened this issue mainly because I'm working on this and to have a place to talk about it. 1) IMO operations like edit or delete should only be possible, when an item is visibly selected. Having a valid currentRow (=currentIndex) is not enough. 2) there should always be one item selected (?)

oroulet commented 7 years ago

Both make sense in my opinion

fuchsmich commented 7 years ago

Does the stuff related to this issue work for you? Or do you have some other suggestions about it?

oroulet commented 7 years ago

I always have one item selcted. so I guess this works. But I just saw a new bug. After deleting a task. then the next task get selected (This is OK) but also the first one (NOT OK)

oroulet commented 7 years ago

happens only when deleting several tasks at once