it assume desktop is always the start but if you navigate to the desktop path as a folder instead of starting with it, it assumes it has no parent
by changing
return m_CurrentFolder != ShellItem.Desktop;
to
return m_CurrentFolder.Parent != null;
it fixes it.
Log in to post a comment.