未验证 提交 da90d7c7 编写于 作者: S ShadelessFox 提交者: GitHub

#14428 Re-schedule auto-refresh after cancelling refresh (#15813)

上级 69ad700b
......@@ -3574,7 +3574,7 @@ public class ResultSetViewer extends Viewer
switch (checkResult) {
case ISaveablePart2.CANCEL:
dataReceiver.setHasMoreData(false);
updatePanelsContent(true);
UIUtils.asyncExec(() -> updatePanelsContent(true));
return false;
case ISaveablePart2.YES:
// Apply changes
......@@ -3671,6 +3671,7 @@ public class ResultSetViewer extends Viewer
@Override
public boolean refreshData(@Nullable Runnable onSuccess) {
if (!verifyQuerySafety() || !checkForChanges()) {
autoRefreshControl.scheduleAutoRefresh(false);
return false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册