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

#1251 Show <none> in database selector if there was no database selected.

上级 6d3e56df
......@@ -519,6 +519,9 @@ public class DataSourceManagementToolbar implements DBPRegistryListener, DBPEven
databaseCombo.setRedraw(false);
try {
databaseCombo.removeAll();
if (reader.active == null) {
databaseCombo.addItem(null);
}
if (!reader.enabled) {
databaseCombo.setEnabled(false);
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册