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

SQL editor action buttons enablement fix


Former-commit-id: 0bba24d6
上级 04ba464d
......@@ -2136,6 +2136,8 @@ public class SQLEditor extends SQLEditorBase implements
if (executionContext != null) {
EditorUtils.setInputDataSource(getEditorInput(), new SQLNavigatorContext(executionContext));
}
refreshActions();
if (syntaxLoaded && lastExecutionContext == executionContext) {
return;
}
......@@ -2164,8 +2166,6 @@ public class SQLEditor extends SQLEditorBase implements
resultsSash.setMaximizedControl(null);
}
refreshActions();
lastExecutionContext = executionContext;
syntaxLoaded = true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册