Index: trunk/GnssCenter/monitor/monitor.cpp
===================================================================
--- trunk/GnssCenter/monitor/monitor.cpp	(revision 5476)
+++ trunk/GnssCenter/monitor/monitor.cpp	(revision 5477)
@@ -149,5 +149,4 @@
 /////////////////////////////////////////////////////////////////////////////
 void t_monitor::slotStartThrift() {
-  enableActions();
   if (!_thriftClient) {
     _thriftClient = new t_thriftClient(this, _host, _port.toInt());
@@ -156,4 +155,5 @@
     slotPlotResults();
   }
+  enableActions();
 }
 
@@ -161,9 +161,9 @@
 /////////////////////////////////////////////////////////////////////////////
 void t_monitor::slotStopThrift() {
-  enableActions();
   if (_thriftClient) {
     _thriftClient->stop();
     _thriftClient = 0;
   }
+  enableActions();
 }
 
@@ -171,7 +171,7 @@
 /////////////////////////////////////////////////////////////////////////////
 void t_monitor::slotThriftFinished() {
-  enableActions();
   sender()->deleteLater();
   _thriftClient = 0;
+  enableActions();
 }
 
