|
|
@ -122,6 +122,9 @@ UBDocumentProxyTreeItem* UBDocumentController::findDocument(UBDocumentProxy* pro |
|
|
|
|
|
|
|
|
|
|
|
void UBDocumentController::selectDocument(UBDocumentProxy* proxy, bool setAsCurrentDocument) |
|
|
|
void UBDocumentController::selectDocument(UBDocumentProxy* proxy, bool setAsCurrentDocument) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
if (!proxy) |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
QTreeWidgetItemIterator it(mDocumentUI->documentTreeWidget); |
|
|
|
QTreeWidgetItemIterator it(mDocumentUI->documentTreeWidget); |
|
|
|
|
|
|
|
|
|
|
|
mDocumentUI->documentTreeWidget->clearSelection(); |
|
|
|
mDocumentUI->documentTreeWidget->clearSelection(); |
|
|
|