You've already forked lazarus-ccr
tvplant: Fix duplicate storage of events in sqlite3 datastore
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4770 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -733,7 +733,7 @@ begin
|
||||
result := (DlgEventEdit.ReturnCode = rtCommit);
|
||||
if Result then begin
|
||||
DlgEventEdit.DePopulateDialog;
|
||||
DataStore.PostEvents;
|
||||
// DataStore.PostEvents;
|
||||
end;
|
||||
finally
|
||||
DlgEventEdit.Release;
|
||||
|
@ -212,8 +212,8 @@ begin
|
||||
Task.Changed := Result;
|
||||
if Result then begin
|
||||
TaskEditForm.DePopulateSelf;
|
||||
DataStore.PostTasks;
|
||||
DataStore.NotifyDependents;
|
||||
// DataStore.PostTasks;
|
||||
// DataStore.NotifyDependents;
|
||||
end;
|
||||
finally
|
||||
TaskEditForm.Release;
|
||||
|
@ -1464,6 +1464,7 @@ begin
|
||||
end;
|
||||
if AllowIt then begin
|
||||
DataStore.PostTasks();
|
||||
DataStore.NotifyDependents;
|
||||
Invalidate;
|
||||
end else begin
|
||||
if NewTask then begin
|
||||
|
Reference in New Issue
Block a user