diff options
Diffstat (limited to 'framework/domain/mailcontroller.cpp')
-rw-r--r-- | framework/domain/mailcontroller.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/domain/mailcontroller.cpp b/framework/domain/mailcontroller.cpp index 962b785f..b912567a 100644 --- a/framework/domain/mailcontroller.cpp +++ b/framework/domain/mailcontroller.cpp | |||
@@ -61,6 +61,8 @@ void MailController::updateActions() | |||
61 | if (mail) { | 61 | if (mail) { |
62 | action_moveToTrash->setEnabled(!mail->getTrash()); | 62 | action_moveToTrash->setEnabled(!mail->getTrash()); |
63 | action_restoreFromTrash->setEnabled(mail->getTrash()); | 63 | action_restoreFromTrash->setEnabled(mail->getTrash()); |
64 | action_markAsRead->setEnabled(mail->getUnread()); | ||
65 | action_markAsUnread->setEnabled(!mail->getUnread()); | ||
64 | } | 66 | } |
65 | } | 67 | } |
66 | 68 | ||