提交 6b29f2d7 编写于 作者: S serge@jkiss.org

#6488 Connection/schema selector visibility update fixed

上级 6786d6c2
......@@ -60,6 +60,8 @@ public class DataSourceToolbarUtils
if (element instanceof MElementContainer) {
MElementContainer<? extends MUIElement> container = (MElementContainer<? extends MUIElement>)element;
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);
tbItem.setVisible(showConnectionSelector);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册