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 f11b1c4f authored by Laurent Montel's avatar Laurent Montel 😁

Minor

parent fdaae290
......@@ -3750,8 +3750,7 @@ void KMMainWidget::updateMessageActionsDelayed()
// "Print" will act on the current message: it will ignore any hidden selection
mMsgActions->printAction()->setEnabled(singleVisibleMessageSelected);
// "Print preview" will act on the current message: it will ignore any hidden selection
QAction *printPreviewAction = mMsgActions->printPreviewAction();
if (printPreviewAction) {
if (QAction *printPreviewAction = mMsgActions->printPreviewAction()) {
printPreviewAction->setEnabled(singleVisibleMessageSelected);
}
......
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