未验证 提交 9e15681b 编写于 作者: G George 提交者: GitHub

#13431 filter panel removed if resultset is statistic (#15773)

上级 5d807ea2
......@@ -723,12 +723,18 @@ public class ResultSetViewer extends Viewer
isUIUpdateRunning = true;
if (resultSet instanceof StatResultSet) {
// Statistics - let's use special presentation for it
if (filtersPanel != null) {
filtersPanel.setVisible(false);
}
availablePresentations = Collections.emptyList();
setActivePresentation(new StatisticsPresentation());
activePresentationDescriptor = null;
changed = true;
} else {
// Regular results
if (filtersPanel != null) {
filtersPanel.setVisible(true);
}
IResultSetContext context = new ResultSetContextImpl(this, resultSet);
final List<ResultSetPresentationDescriptor> newPresentations;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册