Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kalendar
Commits
189ac234
Commit
189ac234
authored
Nov 09, 2021
by
Claudio Cambra
Browse files
Fixed infrequent crash when completing todos
parent
25ce1608
Pipeline
#95865
passed with stage
in 5 minutes and 35 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/calendarmanager.cpp
View file @
189ac234
...
...
@@ -689,7 +689,7 @@ void CalendarManager::editIncidence(IncidenceWrapper *incidenceWrapper)
m_changer
->
modifyIncidence
(
modifiedItem
,
originalPayload
);
if
(
modifiedItem
.
parentCollection
().
id
()
==
incidenceWrapper
->
collectionId
())
{
if
(
!
incidenceWrapper
->
collectionId
()
||
incidenceWrapper
->
collectionId
()
<
0
||
modifiedItem
.
parentCollection
().
id
()
==
incidenceWrapper
->
collectionId
())
{
return
;
}
...
...
src/contents/ui/main.qml
View file @
189ac234
...
...
@@ -817,6 +817,7 @@ Kirigami.ApplicationWindow {
this
,
"
incidence
"
);
todo
.
incidencePtr
=
incidencePtr
;
todo
.
collectionId
=
-
1
;
if
(
todo
.
incidenceType
===
IncidenceWrapper
.
TypeTodo
)
{
todo
.
todoCompleted
=
!
todo
.
todoCompleted
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment