QTodoTxt / QTodoTxt2

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

Broken priority and template actions fixed by recovering task variable #123

Closed alvcap closed 5 years ago

alvcap commented 5 years ago

Hi,

My previous changes removed a task object that was necessary for assigning priorities to tasks and creating new tasks from template. I have added that task object again.

alvcap commented 5 years ago

Wait a second. This does not work well.

The fix allows to assign priorities to tasks, but they are assigned to other tasks different than the one that was intended.

Looks like something has to be wrong with Component.onCompleted: task = taskList[styleData.row] ?

topas-rec commented 5 years ago

Let me know if I should test something. Else just merge.

alvcap commented 5 years ago

I have made a small change that apparently has solved the issue. I will test this version for a couple of days and merge if I see that it keeps behaving fine.