|
|
@ -125,6 +125,8 @@ void UBLibNavigatorWidget::onNavigbarUpate(UBLibElement *pElem) |
|
|
|
* @param elem as the clicked element |
|
|
|
* @param elem as the clicked element |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
void UBLibNavigatorWidget::onPathItemClicked(UBChainedLibElement *elem) |
|
|
|
void UBLibNavigatorWidget::onPathItemClicked(UBChainedLibElement *elem) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
if (!this->libraryWidget()->isLoadingLibraryItems()) |
|
|
|
{ |
|
|
|
{ |
|
|
|
// If this element has some subelement, remove them
|
|
|
|
// If this element has some subelement, remove them
|
|
|
|
removeNextChainedElements(elem); |
|
|
|
removeNextChainedElements(elem); |
|
|
@ -132,6 +134,7 @@ void UBLibNavigatorWidget::onPathItemClicked(UBChainedLibElement *elem) |
|
|
|
// The refresh the view
|
|
|
|
// The refresh the view
|
|
|
|
mLibWidget->setCurrentElemsAndRefresh(elem); |
|
|
|
mLibWidget->setCurrentElemsAndRefresh(elem); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* \brief Remove the next chained elements |
|
|
|
* \brief Remove the next chained elements |
|
|
|