mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
fix directory traversing in explorer SDI windows
svn path=/trunk/; revision=18211
This commit is contained in:
parent
6a834bb1fb
commit
90637152d6
1 changed files with 5 additions and 1 deletions
|
@ -112,6 +112,8 @@ void ShellBrowser::jump_to(LPCITEMIDLIST pidl)
|
|||
-> see FileChildWindow::FileChildWindow()
|
||||
*/
|
||||
|
||||
LOG(FmtString(TEXT("ShellBrowser::jump_to(): pidl=%s"), (LPCTSTR)FileSysShellPath(pidl)));
|
||||
|
||||
if (_cur_dir) {
|
||||
static DynamicFct<LPITEMIDLIST(WINAPI*)(LPCITEMIDLIST, LPCITEMIDLIST)> ILFindChild(TEXT("SHELL32"), 24);
|
||||
|
||||
|
@ -127,10 +129,12 @@ void ShellBrowser::jump_to(LPCITEMIDLIST pidl)
|
|||
|
||||
entry = _cur_dir->find_entry(child_pidl);
|
||||
|
||||
if (entry)
|
||||
if (entry) {
|
||||
_cur_dir = static_cast<ShellDirectory*>(entry);
|
||||
_callback->entry_selected(entry);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//@@ work around as long as we don't iterate correctly through the ShellEntry tree
|
||||
if (!entry)
|
||||
|
|
Loading…
Reference in a new issue