Skip to content

Commit

Permalink
window: Add an icon for menuRecentFiles
Browse files Browse the repository at this point in the history
  • Loading branch information
mitya57 committed Dec 29, 2024
1 parent dfbf863 commit 5d915f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ReText/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,10 @@ def __init__(self, parent=None):
menuHelp = menubar.addMenu(self.tr('&Help'))
menuFile.addAction(self.actionNew)
menuFile.addAction(self.actionOpen)
self.menuRecentFiles = menuFile.addMenu(self.tr('Open recent'))
self.menuRecentFiles = menuFile.addMenu(
self.actIcon('document-open-recent'),
self.tr('Open recent'),
)
self.menuRecentFiles.aboutToShow.connect(self.updateRecentFiles)
menuFile.addAction(self.actionShow)
menuFile.addAction(self.actionShowDirectoryTree)
Expand Down

0 comments on commit 5d915f4

Please sign in to comment.