提交 96ec09d4 编写于 作者: J jurgen

QMDB

上级 8deb5502
......@@ -50,7 +50,7 @@ public class EditConnectionDialog extends MultiPageWizardDialog
protected Control createContents(Composite parent)
{
Control contents = super.createContents(parent);
DataSourceDescriptor activeDataSource = getWizard().getPageSettings().getActiveDataSource();
DataSourceDescriptor activeDataSource = getWizard().getActiveDataSource();
getShell().setText("Connection '" + activeDataSource.getName() + "' configuration");
getShell().setImage(DBeaverIcons.getImage(activeDataSource.getObjectImage()));
return contents;
......
......@@ -149,7 +149,9 @@ public class EditConnectionWizard extends ConnectionWizard
@Override
protected void saveSettings(DataSourceDescriptor dataSource)
{
pageSettings.saveSettings(dataSource);
if (pageSettings != null) {
pageSettings.saveSettings(dataSource);
}
pageGeneral.saveSettings(dataSource);
if (pageNetwork != null) {
pageNetwork.saveConfigurations(dataSource);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册