projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d8c737
)
fix wrong recreated history causing wrong sort order (because viewstate not found...
author
Voyager1
<Voyager@xbmc.org>
Tue, 25 Dec 2012 08:27:48 +0000
(09:27 +0100)
committer
Voyager1
<Voyager@xbmc.org>
Thu, 27 Dec 2012 08:04:09 +0000
(09:04 +0100)
xbmc/windows/GUIMediaWindow.cpp
patch
|
blob
|
history
diff --git
a/xbmc/windows/GUIMediaWindow.cpp
b/xbmc/windows/GUIMediaWindow.cpp
index
04dad32
..
1361591
100644
(file)
--- a/
xbmc/windows/GUIMediaWindow.cpp
+++ b/
xbmc/windows/GUIMediaWindow.cpp
@@
-1355,6
+1355,13
@@
void CGUIMediaWindow::SetHistoryForPath(const CStdString& strDirectory)
}
}
+ if (URIUtils::IsVideoDb(strPath))
+ {
+ CURL url(strParentPath);
+ url.SetOptions(""); // clear any URL options from recreated parent path
+ strParentPath = url.Get();
+ }
+
URIUtils::AddSlashAtEnd(strPath);
m_history.AddPathFront(strPath);
m_history.SetSelectedItem(strPath, strParentPath);