| 143 | } |
| 144 | |
| 145 | void ProtocolItemLayer::SetProtocolFormat(const char *format) |
| 146 | { |
| 147 | assert(format); |
| 148 | |
| 149 | m_bSetting = true; |
| 150 | int dex = DecoderDataFormat::Parse(format); |
| 151 | if (dex < (int)_format_combox->count()){ |
| 152 | _format_combox->setCurrentIndex(dex); |
| 153 | } |
| 154 | m_bSetting = false; |
| 155 | } |
| 156 | |
| 157 | void ProtocolItemLayer::enable_format(bool flag) |
| 158 | { |
no test coverage detected