From ceb061f616cd9b2617765837a753d927bf481d80 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Wed, 5 Dec 2018 21:31:06 -0800 Subject: [PATCH] =?UTF-8?q?Make=20the=20Star=20toolbar=20button=20image=20?= =?UTF-8?q?static=20=E2=80=94=C2=A0don=E2=80=99t=20reflect=20what=20the=20?= =?UTF-8?q?command=20will=20do,=20since=20that=E2=80=99s=20opposite=20of?= =?UTF-8?q?=20state,=20and=20people=20get=20confused.=20Fix=20#451.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NetNewsWire/MainWindow/MainWindowController.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NetNewsWire/MainWindow/MainWindowController.swift b/NetNewsWire/MainWindow/MainWindowController.swift index f9a5a13be..31800c6ec 100644 --- a/NetNewsWire/MainWindow/MainWindowController.swift +++ b/NetNewsWire/MainWindow/MainWindowController.swift @@ -521,9 +521,9 @@ private extension MainWindowController { if let toolbarItem = item as? NSToolbarItem { toolbarItem.toolTip = commandName - if let button = toolbarItem.view as? NSButton { - button.image = NSImage(named: starring ? .star : .unstar) - } +// if let button = toolbarItem.view as? NSButton { +// button.image = NSImage(named: starring ? .star : .unstar) +// } } if let menuItem = item as? NSMenuItem {