| 206 | } |
| 207 | |
| 208 | void ChatMessageEdit::SetMessagePattern(const ChatMessagePattern &pattern) |
| 209 | { |
| 210 | _currentSelection = pattern; |
| 211 | _message->setPlainText(pattern._message); |
| 212 | _regex->SetRegexConfig(pattern._regex); |
| 213 | |
| 214 | _list->clear(); |
| 215 | _currentSelection._properties.clear(); |
| 216 | for (const auto &property : pattern._properties) { |
| 217 | InsertElement(property); |
| 218 | } |
| 219 | } |
| 220 | |
| 221 | void ChatMessageEdit::Remove() |
| 222 | { |
no test coverage detected