提交 aa0f931c 编写于 作者: S Serge Rider

Merge remote-tracking branch 'origin/devel' into devel

......@@ -4065,6 +4065,8 @@ public class ResultSetViewer extends Viewer
if (listener != null) {
listener.onUpdate(success);
}
//fire selection change to update selection statistics in ResultSetStatListener
fireResultSetSelectionChange(new SelectionChangedEvent(ResultSetViewer.this, getSelection()));
if (success && getPreferenceStore().getBoolean(ResultSetPreferences.RS_EDIT_REFRESH_AFTER_UPDATE)) {
// Refresh updated rows
try {
......@@ -4090,6 +4092,9 @@ public class ResultSetViewer extends Viewer
return;
}
UIUtils.syncExec(() -> getActivePresentation().rejectChanges());
//fire selection change to update selection statistics in ResultSetStatListener
fireResultSetSelectionChange(new SelectionChangedEvent(ResultSetViewer.this, getSelection()));
try {
createDataPersister(true).rejectChanges();
if (model.getAllRows().isEmpty()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册