Adjust to new Item, ItemSelection, and ItemSettingsDialog classes

This commit is contained in:
WarmUpTill
2022-09-08 21:22:21 +02:00
committed by WarmUpTill
parent c95fb6c2ea
commit 1dea2e5f5d
5 changed files with 48 additions and 298 deletions

View File

@@ -17,7 +17,10 @@ void ClearWebsocketMessages()
{
switcher->websocketMessages.clear();
for (auto &connection : switcher->connections) {
connection.Events().clear();
Connection *c = dynamic_cast<Connection *>(connection.get());
if (c) {
c->Events().clear();
}
}
}