提交 7270837e 编写于 作者: J jurgen

Always copy generated sql to clipboard

Former-commit-id: b9421d7d
上级 116404f2
......@@ -371,9 +371,8 @@ public class GenerateSQLContributor extends CompoundContributionItem {
log.warn(e);
}
activeEditor.setFocus();
} else {
UIUtils.setClipboardContents(DBeaverUI.getActiveWorkbenchShell().getDisplay(), TextTransfer.getInstance(), sql);
}
UIUtils.setClipboardContents(DBeaverUI.getActiveWorkbenchShell().getDisplay(), TextTransfer.getInstance(), sql);
}
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册