Index: /trunk/GnssCenter/monitor/monitor.cpp
===================================================================
--- /trunk/GnssCenter/monitor/monitor.cpp	(revision 5472)
+++ /trunk/GnssCenter/monitor/monitor.cpp	(revision 5473)
@@ -124,8 +124,8 @@
 /////////////////////////////////////////////////////////////////////////////
 void t_monitor::slotStartThrift() {
+  _actConfig->setEnabled(false);
+  _actStartThrift->setEnabled(false);
+  _actStopThrift->setEnabled(true);
   if (!_thriftClient) {
-    _actConfig->setEnabled(false);
-    _actStartThrift->setEnabled(false);
-    _actStopThrift->setEnabled(true);
     t_settings settings(pluginName);
     QString host = settings.value("host").toString();
@@ -144,8 +144,6 @@
 /////////////////////////////////////////////////////////////////////////////
 void t_monitor::slotStopThrift() {
+  _actStopThrift->setEnabled(false);
   if (_thriftClient) {
-    _actConfig->setEnabled(true);
-    _actStartThrift->setEnabled(true);
-    _actStopThrift->setEnabled(false);
     _thriftClient->stop();
     _thriftClient = 0;
@@ -158,4 +156,5 @@
   _actConfig->setEnabled(true);
   _actStartThrift->setEnabled(true);
+  _actStopThrift->setEnabled(false);
   sender()->deleteLater();
   _thriftClient = 0;
