Add new-feed and new-folder commands to the sidebar gear menu when there’s no selection.

This commit is contained in:
Brent Simmons
2018-02-03 21:30:30 -08:00
parent 68d0885b0d
commit 27c5ffa5eb
3 changed files with 25 additions and 4 deletions

View File

@@ -177,7 +177,12 @@ class MainWindowController : NSWindowController, NSUserInterfaceValidations {
appDelegate.showAddFolderSheetOnWindow(window!)
}
@IBAction func showAddFeedWindow(_ sender: Any) {
appDelegate.showAddFeedSheetOnWindow(window!, urlString: nil, name: nil)
}
@IBAction func openArticleInBrowser(_ sender: Any?) {
if let link = currentLink {