Skip to content

Commit 5ef34b6

Browse files
jonoomphferdnyc
andauthored
Disabling "No Recent Projects" menu item
Co-authored-by: Frank Dana <[email protected]>
1 parent 62570c2 commit 5ef34b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/windows/main_window.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2296,7 +2296,7 @@ def load_recent_menu(self):
22962296
# Add recent projects to menu
22972297
# Show just a placeholder menu, if we have no recent projects list
22982298
if not recent_projects:
2299-
self.recent_menu.addAction(_("No Recent Projects"))
2299+
self.recent_menu.addAction(_("No Recent Projects")).setDisabled(True)
23002300
return
23012301

23022302
for file_path in reversed(recent_projects):

0 commit comments

Comments
 (0)