This commit is contained in:
Martin Rotter 2023-07-26 13:46:31 +02:00
parent 21a8210124
commit 126ed60b04

View File

@ -516,7 +516,7 @@ void MessagesView::loadItem(RootItem* item) {
sort(col, ord, false, true, false, true); sort(col, ord, false, true, false, true);
m_sourceModel->loadMessages(item); m_sourceModel->loadMessages(item);
if (item->toFeed() != nullptr) { if (item->kind() == RootItem::Kind::Feed) {
if (item->toFeed()->isRtl()) { if (item->toFeed()->isRtl()) {
setLayoutDirection(Qt::LayoutDirection::RightToLeft); setLayoutDirection(Qt::LayoutDirection::RightToLeft);
} }