Index: /trunk/GnssCenter/monitor/monitor.cpp
===================================================================
--- /trunk/GnssCenter/monitor/monitor.cpp	(revision 5469)
+++ /trunk/GnssCenter/monitor/monitor.cpp	(revision 5470)
@@ -101,5 +101,14 @@
   }
   QString port = settings.value("port").toString();
-  setWindowTitle(QString(pluginName) + "   " + host + ':' + port);
+  if (port.isEmpty()) {
+    setWindowTitle(QString(pluginName));
+    _actStartThrift->setEnabled(false);
+    _actStopThrift->setEnabled(false);
+  }
+  else {
+    _actStartThrift->setEnabled(true);
+    _actStopThrift->setEnabled(true);
+    setWindowTitle(QString(pluginName) + "   " + host + ':' + port);
+  }
 }
 
@@ -116,4 +125,7 @@
 void t_monitor::slotStartThrift() {
   if (!_thriftClient) {
+    _actConfig->setEnabled(false);
+    _actStartThrift->setEnabled(false);
+    _actStopThrift->setEnabled(true);
     t_settings settings(pluginName);
     QString host = settings.value("host").toString();
@@ -133,4 +145,7 @@
 void t_monitor::slotStopThrift() {
   if (_thriftClient) {
+    _actConfig->setEnabled(true);
+    _actStartThrift->setEnabled(true);
+    _actStopThrift->setEnabled(false);
     _thriftClient->stop();
     _thriftClient = 0;
