Skip to content

Commit

Permalink
Restore delete key behavior on articles
Browse files Browse the repository at this point in the history
Make Delete key delete the article when focus is on the article content
panel.

Fix issue #1735
  • Loading branch information
barijaona committed Jun 22, 2024
1 parent 5f1d600 commit 5ed7896
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Vienna/Sources/Application/AppController.m
Original file line number Diff line number Diff line change
Expand Up @@ -1949,7 +1949,7 @@ -(BOOL)handleKeyDown:(unichar)keyChar withFlags:(NSUInteger)flags
if (self.mainWindow.firstResponder == self.foldersTree.mainView) {
[self deleteFolder:self];
return YES;
} else if (self.mainWindow.firstResponder == (self.articleController.mainArticleView).mainView) {
} else if (self.browser.activeTab == nil) { // make sure we are in the articles tab
[self deleteMessage:self];
return YES;
}
Expand Down

0 comments on commit 5ed7896

Please sign in to comment.