mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-17 20:30:58 +01:00
Merge pull request #1614 from Aga-C/fix-no-confirm-on-edit
Fixed no confirmation dialog after first edit of imported event (#1478)
This commit is contained in:
commit
56bd31f4cc
@ -1176,7 +1176,7 @@ class EventActivity : SimpleActivity() {
|
||||
}
|
||||
|
||||
// recreate the event if it was moved in a different CalDAV calendar
|
||||
if (mEvent.id != null && oldSource != newSource) {
|
||||
if (mEvent.id != null && oldSource != newSource && oldSource != SOURCE_IMPORTED_ICS) {
|
||||
eventsHelper.deleteEvent(mEvent.id!!, true)
|
||||
mEvent.id = null
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user