Skip to content
  • Nate Graham's avatar
    foldermodel: hide undo action when it's not available · b1a95de9
    Nate Graham authored
    This action appears only in the context menu, and context menus are
    inherently contextual: they should only show things relevant to what was
    right-clicked. Therefore it never makes sense to have disabled items in
    a context menu; they should be hidden instead.
    
    This commit does that for the Undo action, only showing it in the
    context menu when it is contextually relevant.
    b1a95de9