 
         @trigger("mergeTree", lastTree.treeId, lastNode, @activeNode)
 
-        #@deleteTree(false, lastTree.treeId, false)
+        @deleteTree(false, lastTree.treeId, false, false)
 
         @setActiveNode(activeNodeID)
       else

        @deleteComment(node.id)
        @deleteBranch(node)

    @stateLogger.deleteTree(tree)
    @trigger("deleteTree", index)
    
    # Because we always want an active tree, check if we need

      @deleteTree(false)


  deleteTree : (notify, id, deleteBranchesAndComments, informServer) ->

    if notify
      if confirm("Do you really want to delete the whole tree?")
        @reallyDeleteTree(id, deleteBranchesAndComments, informServer)
      else
        return
    else
      @reallyDeleteTree(id, deleteBranchesAndComments, informServer)


  reallyDeleteTree : (id, deleteBranchesAndComments = true, informServer = true) ->

    unless id
      id = @activeTree.treeId
