| 241 | } |
| 242 | |
| 243 | void MacroConditionHttpEdit::UpdateEntryData() |
| 244 | { |
| 245 | if (!_entryData) { |
| 246 | return; |
| 247 | } |
| 248 | |
| 249 | _method->setCurrentIndex( |
| 250 | _method->findData(static_cast<int>(_entryData->_method))); |
| 251 | _server->SetServer(_entryData->GetServer()); |
| 252 | _path->setText(_entryData->_path); |
| 253 | _pathRegex->SetRegexConfig(_entryData->_pathRegex); |
| 254 | _body->setPlainText(_entryData->_body); |
| 255 | _bodyRegex->SetRegexConfig(_entryData->_bodyRegex); |
| 256 | _clearBufferOnMatch->setChecked(_entryData->_clearBufferOnMatch); |
| 257 | |
| 258 | adjustSize(); |
| 259 | updateGeometry(); |
| 260 | } |
| 261 | |
| 262 | void MacroConditionHttpEdit::MethodChanged(int idx) |
| 263 | { |
nothing calls this directly
no test coverage detected