I'm not really sure why this has happened, but clearRecentDocuments() is no longer being called. Although the recent documents list is getting cleared properly, it does not trigger this function which removes the recent files from the combo box.
Only after adding @IBAction does it work again, but this introduces a new issue - the menu item is now always enabled even when the list is empty, whereas before presumably the underlying NSDocumentController controlled this property.
Description
I'm not really sure why this has happened, but
clearRecentDocuments()
is no longer being called. Although the recent documents list is getting cleared properly, it does not trigger this function which removes the recent files from the combo box.Only after adding
@IBAction
does it work again, but this introduces a new issue - the menu item is now always enabled even when the list is empty, whereas before presumably the underlying NSDocumentController controlled this property.Types of Changes
Issues Fixed or Closed by This PR