提交 047b2b8e 编写于 作者: S Serge Rider

Plan viewer: warn message fix


Former-commit-id: 5649efd0
上级 28a3ee01
......@@ -102,7 +102,7 @@ public class SQLPlanTreeViewer extends Viewer
planTree.getControl().addPaintListener(e -> {
String message = null;
if (query == null) {
message = "No connection or data source doesn't support execution plan";
message = null;//"No connection or data source doesn't support execution plan";
} else if (CommonUtils.isEmpty(sqlText.getText())) {
message = "Select a query and run " + ActionUtils.findCommandDescription(
SQLEditorCommands.CMD_EXPLAIN_PLAN,
......
......@@ -333,9 +333,11 @@ public class ViewerColumnController<COLUMN, ELEMENT> {
column.addControlListener(new ControlAdapter() {
@Override
public void controlResized(ControlEvent e) {
columnInfo.width = column.getWidth();
if (getRowCount() > 0) {
saveColumnConfig();
/*if (!isInitializing && !isPacking)*/ {
columnInfo.width = column.getWidth();
if (getRowCount() > 0) {
saveColumnConfig();
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册