Commit 681acce8 authored by Clément Fauconnier's avatar Clément Fauconnier

last fix before uat

parent 829afcfb
...@@ -2357,6 +2357,10 @@ void UBDocumentController::moveIndexesToTrash(const QModelIndexList &list, UBDoc ...@@ -2357,6 +2357,10 @@ void UBDocumentController::moveIndexesToTrash(const QModelIndexList &list, UBDoc
} }
} }
else
{
setDocument(NULL);
}
docModel->moveIndexes(list, docModel->trashIndex()); docModel->moveIndexes(list, docModel->trashIndex());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment