Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit a14c6836 authored by Laurent Montel's avatar Laurent Montel 😁

Fix Bug 388424 - abort when clicking on favorites folder

BUG: 388424
parent 668632a1
......@@ -584,7 +584,9 @@ public:
collectionSelectionModel->select(selection, QItemSelectionModel::ClearAndSelect | QItemSelectionModel::Rows);
// Also set the current index. This will trigger KMMainWidget::slotFolderChanged in kmail, which we want.
collectionSelectionModel->setCurrentIndex(selection.indexes().first(), QItemSelectionModel::NoUpdate);
if (!selection.indexes().isEmpty()) {
collectionSelectionModel->setCurrentIndex(selection.indexes().first(), QItemSelectionModel::NoUpdate);
}
updateActions();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment