Index: trunk/GnssCenter/monitor/dlgconf.cpp
===================================================================
--- trunk/GnssCenter/monitor/dlgconf.cpp	(revision 5464)
+++ trunk/GnssCenter/monitor/dlgconf.cpp	(revision 5465)
@@ -27,6 +27,8 @@
 t_dlgConf::t_dlgConf(QWidget* parent) : QDialog(parent) {
 
-  _hostLineEdit = new QLineEdit;
-  _portLineEdit = new QLineEdit;
+  t_settings settings(pluginName);
+
+  _hostLineEdit = new QLineEdit(settings.value("host").toString(), this);
+  _portLineEdit = new QLineEdit(settings.value("port").toString(), this);
 
 
@@ -49,10 +51,4 @@
   mainLayout->addLayout(buttonLayout);
   setLayout(mainLayout);
-
-  t_settings settings(pluginName);
-  settings.setValue("host", "rtnet.rtcm-ntrip.org");
-  settings.setValue("port", 7777);
-  settings.sync();
-
 }
 
@@ -65,5 +61,7 @@
 /////////////////////////////////////////////////////////////////////////////
 void t_dlgConf::accept() {
-  qDebug() << "accept hovno";
+  t_settings settings(pluginName);
+  settings.setValue("host", _hostLineEdit->text());
+  settings.setValue("port", _portLineEdit->text());
 }
 
