From 8706ee950e1154d5a1b9196a6060c291c36e0ece Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Mon, 25 Aug 2025 15:21:51 +0200 Subject: [PATCH] Minor fix to StateModel --- src/devtools/models/statemodel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/devtools/models/statemodel.cpp b/src/devtools/models/statemodel.cpp index 1d11f1864..c5ea03d6c 100644 --- a/src/devtools/models/statemodel.cpp +++ b/src/devtools/models/statemodel.cpp @@ -46,6 +46,7 @@ void StateModel::loadState() beginResetModel(); m_stateEvents.clear(); if (!m_room) { + endResetModel(); return; } const auto keys = m_room->currentState().events().keys();