mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
fixed file open dialog
This commit is contained in:
committed by
Baldur Karlsson
parent
47b351c566
commit
f42a774966
@@ -435,7 +435,7 @@ void MainWindow::on_action_Open_Capture_triggered()
|
||||
QString filename = RDDialog::getOpenFileName(
|
||||
this, tr("Select file to open"), m_Ctx.Config().LastCaptureFilePath,
|
||||
tr("Capture Files (*.rdc);;Image Files (*.dds *.hdr *.exr *.bmp *.jpg "
|
||||
"*.jpeg *.png *.tga *.gif *.psd;;All Files (*)"));
|
||||
"*.jpeg *.png *.tga *.gif *.psd);;All Files (*)"));
|
||||
|
||||
if(!filename.isEmpty())
|
||||
LoadFromFilename(filename, false);
|
||||
|
||||
Reference in New Issue
Block a user