提交 20deb0b3 编写于 作者: S serge@jkiss.org

Tolbar update performance fix


Former-commit-id: 0472745c
上级 c9784d0a
......@@ -62,7 +62,9 @@ public class DataSourceToolbarUtils
for (MUIElement tbItem : container.getChildren()) {
// Handle Eclipse bug. By default it doesn't update contents of main toolbar elements
// So we need to hide/shot it to force text update
tbItem.setVisible(!showConnectionSelector);
if (showConnectionSelector) {
tbItem.setVisible(false);
}
tbItem.setVisible(showConnectionSelector);
}
// for (MUIElement tbItem : container.getChildren()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册