提交 c4c31f3c 编写于 作者: S serge-rider

#797 Current row update fix (spreadsheet)


Former-commit-id: a731d0a8
上级 67ed2e7d
......@@ -347,11 +347,13 @@ public class SpreadsheetPresentation extends AbstractPresentation implements IRe
ResultSetRow curRow = controller.getCurrentRow();
if (!controller.isRecordMode()) {
changed = curRow != newRow || curAttribute != newCol;
if (newRow instanceof ResultSetRow && newCol instanceof DBDAttributeBinding) {
if (newRow instanceof ResultSetRow) {
curRow = (ResultSetRow) newRow;
controller.setCurrentRow(curRow);
}
if (newCol instanceof DBDAttributeBinding) {
curAttribute = (DBDAttributeBinding) newCol;
}
controller.setCurrentRow(curRow);
} else {
changed = curAttribute != newRow;
if (newRow instanceof DBDAttributeBinding) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册