From a2ee87b010cf4e6439d82529f3c265709ca6d5a6 Mon Sep 17 00:00:00 2001 From: Aleksei Kanash Date: Thu, 2 Feb 2012 19:09:48 +0200 Subject: [PATCH] Fix for SANKORE-496 --- src/gui/UBLibPathViewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/UBLibPathViewer.cpp b/src/gui/UBLibPathViewer.cpp index 2dff5098..ca79f7c0 100644 --- a/src/gui/UBLibPathViewer.cpp +++ b/src/gui/UBLibPathViewer.cpp @@ -284,7 +284,7 @@ void UBLibPathViewer::showBack() if(NULL != pLastElem) { mpBackElem->setPath(pLastElem->element()->path()); - mpBackElem->setType(eUBLibElementType_Folder); + mpBackElem->setType(pLastElem->element()->type()); mpBackElem->setName(pLastElem->element()->name()); }