|
@@ -2626,7 +2626,7 @@ end;
|
|
|
|
|
|
procedure TCustomSQLQuery.InternalRefresh;
|
|
procedure TCustomSQLQuery.InternalRefresh;
|
|
begin
|
|
begin
|
|
- if (sqoCancelUpdatesOnRefresh in Options) then
|
|
|
|
|
|
+ if (ChangeCount>0) and (sqoCancelUpdatesOnRefresh in Options) then
|
|
CancelUpdates;
|
|
CancelUpdates;
|
|
inherited InternalRefresh;
|
|
inherited InternalRefresh;
|
|
end;
|
|
end;
|