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

#11206 Initial tab hide: just hide it (we must have RSV on start to enable actions)

上级 048fd31a
......@@ -1073,12 +1073,9 @@ public class SQLEditor extends SQLEditorBase implements
logViewer = new SQLLogPanel(sqlExtraPanelFolder, this);
outputViewer = new SQLEditorOutputConsoleViewer(getSite(), sqlExtraPanelFolder, SWT.NONE);
if (false) {
// Create results tab
createQueryProcessor(true, true);
} else {
resultsSash.setMaximizedControl(sqlEditorPanel);
}
// Create results tab
createQueryProcessor(true, true);
resultsSash.setMaximizedControl(sqlEditorPanel);
{
resultTabs.addMouseListener(new MouseAdapter() {
......@@ -2309,7 +2306,7 @@ public class SQLEditor extends SQLEditorBase implements
if (getDataSourceContainer() == null) {
resultsSash.setMaximizedControl(sqlEditorPanel);
} else {
if (curQueryProcessor != null) {
if (curQueryProcessor != null && curQueryProcessor.getFirstResults().hasData()) {
resultsSash.setMaximizedControl(null);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册