提交 3ab4de9e 编写于 作者: S Serge Rider

#7014 Record mode: double activation of presentation fix

上级 3fe346da
......@@ -1028,6 +1028,9 @@ public class ResultSetViewer extends Viewer
}
public void switchPresentation(ResultSetPresentationDescriptor selectedPresentation) {
if (selectedPresentation == activePresentationDescriptor) {
return;
}
try {
IResultSetPresentation instance = selectedPresentation.createInstance();
activePresentationDescriptor = selectedPresentation;
......
......@@ -1639,7 +1639,7 @@ public class SpreadsheetPresentation extends AbstractPresentation implements IRe
public List<ResultSetRow> getSelectedRows()
{
{
List<ResultSetRow> rows = new ArrayList<>();
List<ResultSetRow> rows = new ArrayList<>();
if (controller.isRecordMode()) {
for (Object col : spreadsheet.getColumnSelection()) {
if (col instanceof ResultSetRow) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册