Commit 19a3a78e authored by Aleksei Kanash's avatar Aleksei Kanash

Fix to SANKORE-640 (Document explorer(navigator):Folders can not be selected)

parent 50aea07a
......@@ -122,6 +122,9 @@ UBDocumentProxyTreeItem* UBDocumentController::findDocument(UBDocumentProxy* pro
void UBDocumentController::selectDocument(UBDocumentProxy* proxy, bool setAsCurrentDocument)
{
if (!proxy)
return;
QTreeWidgetItemIterator it(mDocumentUI->documentTreeWidget);
mDocumentUI->documentTreeWidget->clearSelection();
......
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