mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 01:20:42 +00:00
Added system packages as hidden folders in the Executable Path dialog
android-only change
This commit is contained in:
committed by
Baldur Karlsson
parent
827c2c24f8
commit
0df63aa8d0
@@ -454,7 +454,6 @@ private:
|
||||
|
||||
Renderer.ListFolder(makePath(node), true, [node](const rdcstr &path,
|
||||
const rdcarray<PathEntry> &files) {
|
||||
|
||||
if(files.count() == 1 && (files[0].flags & PathProperty::ErrorAccessDenied))
|
||||
{
|
||||
node->file.flags |= PathProperty::ErrorAccessDenied;
|
||||
@@ -603,6 +602,9 @@ VirtualFileDialog::VirtualFileDialog(ICaptureContext &ctx, QString initialDirect
|
||||
if(!index.isValid())
|
||||
index = m_Model->homeFolder();
|
||||
|
||||
if(index.data(RemoteFileModel::FileIsHiddenRole).toBool())
|
||||
ui->showHidden->setChecked(true);
|
||||
|
||||
// switch to home folder and expand it
|
||||
changeCurrentDir(index);
|
||||
ui->dirList->expand(m_DirProxy->mapFromSource(currentDir()));
|
||||
|
||||
Reference in New Issue
Block a user