Uncheck messages before clearing event list

This commit is contained in:
miruka
2020-06-26 06:09:20 -04:00
parent 7f66ebb786
commit d058926902
5 changed files with 13 additions and 2 deletions

View File

@@ -280,7 +280,11 @@ HColumnLayout {
popup: "Popups/ClearMessagesPopup.qml"
popupParent: chat
properties: ({userId: chat.userId, roomId: chat.roomId})
properties: ({
userId: chat.userId,
roomId: chat.roomId,
preClearCallback: eventList.uncheckAll,
})
}
}
}

View File

@@ -170,6 +170,7 @@ Rectangle {
{
userId: window.uiState.pageProperties.userId,
roomId: window.uiState.pageProperties.roomId,
preClearCallback: eventList.uncheckAll,
}
)
}