fix(ui-test): fix sporadic failures to load CreateChannelPopupPage

thus also fixing the failing `tests/ui` in CI
This commit is contained in:
Lukáš Tinkl 2024-05-03 12:25:59 +02:00 committed by Lukáš Tinkl
parent ac9a240e25
commit caa97737c7
1 changed files with 16 additions and 17 deletions

View File

@ -246,12 +246,7 @@ QtObject {
}
}
// Channel permissions model containing the temporarely edited permissions
property WritableProxyModel channelPermissionsModel: WritableProxyModel {
sourceModel: SortFilterProxyModel {
id: filteredPermissionsModel
readonly property var filteredPermissionsModel: SortFilterProxyModel {
sourceModel: root.permissionsModel
filters: [
@ -266,6 +261,10 @@ QtObject {
}
]
}
// Channel permissions model containing the temporarely edited permissions
property WritableProxyModel channelPermissionsModel: WritableProxyModel {
sourceModel: filteredPermissionsModel
}
// Channels model containing the temporarely edited channel