Commit a60fe179 authored by Claudio Cambra's avatar Claudio Cambra
Browse files

Fix scrolling on task completion slider not changing value



Signed-off-by: Claudio Cambra's avatarClaudio Cambra <claudio.cambra@gmail.com>
parent 35e1692c
Pipeline #234064 passed with stage
in 3 minutes and 31 seconds
......@@ -129,11 +129,9 @@ Item {
to: 100.0
stepSize: 10.0
value: root.incidenceWrapper.todoPercentComplete
onValueChanged: {
if (root.incidenceWrapper.incidenceType === IncidenceWrapper.TypeTodo && activeFocus) {
root.incidenceWrapper.todoPercentComplete = value;
CalendarManager.editIncidence(root.incidenceWrapper);
}
onMoved: if (root.incidenceWrapper.incidenceType === IncidenceWrapper.TypeTodo) {
root.incidenceWrapper.todoPercentComplete = value;
CalendarManager.editIncidence(root.incidenceWrapper);
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment