Verified Commit 865f28de authored by Carl Schwan's avatar Carl Schwan 🚴
Browse files

Fix newly created event not saved because not marked as dirty

When creating an event from a text, mark it directly as dirty. This will
fix some issues with not saved events.
parent eb34743d
Pipeline #75885 failed with stage
in 5 minutes and 22 seconds
......@@ -74,6 +74,7 @@ IncidenceDialog *IncidenceDialogFactory::createTodoEditor(const QString &summary
flags);
dialog->selectCollection(defaultCollection);
dialog->load(item);
dialog->setInitiallyDirty(true);
return dialog;
}
......@@ -113,6 +114,7 @@ IncidenceDialog *IncidenceDialogFactory::createEventEditor(const QString &summar
dialog->selectCollection(defaultCollection);
dialog->load(item);
dialog->setInitiallyDirty(true);
return dialog;
}
Markdown is supported
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