提交 618453ee 编写于 作者: S Serge Rider

#11206 Do nto open results tab on editor initialization


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