Changeset 5475 in ntrip for trunk/GnssCenter/monitor
- Timestamp:
- Sep 18, 2013, 12:17:50 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/monitor/monitor.cpp
r5474 r5475 119 119 ///////////////////////////////////////////////////////////////////////////// 120 120 void t_monitor::enableActions() { 121 _actConfig->setEnabled(true); 122 _actStartThrift->setEnabled(true); 123 _actStopThrift->setEnabled(true); 121 if (_port.isEmpty()) { 122 _actConfig->setEnabled(true); 123 _actStartThrift->setEnabled(false); 124 _actStopThrift->setEnabled(false); 125 } 126 else if (_thriftClient && _thriftClient->isRunning()) { 127 _actConfig->setEnabled(false); 128 _actStartThrift->setEnabled(false); 129 _actStopThrift->setEnabled(true); 130 } 131 else { 132 _actConfig->setEnabled(true); 133 _actStartThrift->setEnabled(true); 134 _actStopThrift->setEnabled(false); 135 } 124 136 } 125 137
Note:
See TracChangeset
for help on using the changeset viewer.