From 4f02fe74014b47636e4e50157cf7a6b89c756a5f Mon Sep 17 00:00:00 2001 From: Charles Parnot Date: Fri, 7 Jun 2019 09:06:18 +0200 Subject: [PATCH] Fix issue with 'Mark as Read' menu item in the Article menu. There were 2 issues: the title of the menu item did not toggle between 'Mark As Read' and 'Mark As Unread', and it was not invalidated where there is no article selected. All the code was already in place in `MainWindowController` as part of the interface item validation, but the menu item was using the wrong selector: `markRead` instead of `toggleRead`. Just changing the action in the menu item was needed to get the validation and menu item update happening correctly. --- Mac/Base.lproj/Main.storyboard | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mac/Base.lproj/Main.storyboard b/Mac/Base.lproj/Main.storyboard index 83e29b174..fe81915b1 100644 --- a/Mac/Base.lproj/Main.storyboard +++ b/Mac/Base.lproj/Main.storyboard @@ -413,7 +413,7 @@ - +