Select a new document when trashing a multiple selection

(Not doing so resulted in either a trashed item being selected when
returning to board mode, or a crash if the item had been permanently
deleted)
preferencesAboutTextFull
Craig Watson 9 years ago
parent ec6725debc
commit 5231e4268d
  1. 2
      src/document/UBDocumentController.cpp

@ -857,7 +857,7 @@ void UBDocumentController::deleteSelectedItem()
deleteTreeItem(item, false, false); deleteTreeItem(item, false, false);
} }
//selectADocumentOnMultipleTrashing(); selectADocumentOnMultipleTrashing();
} }
else if (mSelectionType == Document || mSelectionType == Folder) { else if (mSelectionType == Document || mSelectionType == Folder) {

Loading…
Cancel
Save