mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-22 21:55:52 +00:00
Don't allow HTML pipeline export with no capture loaded
This commit is contained in:
@@ -202,6 +202,9 @@ void PipelineStateViewer::setToVulkan()
|
||||
|
||||
QXmlStreamWriter *PipelineStateViewer::beginHTMLExport()
|
||||
{
|
||||
if(!m_Ctx.IsCaptureLoaded())
|
||||
return NULL;
|
||||
|
||||
QString filename = RDDialog::getSaveFileName(this, tr("Export pipeline state as HTML"), QString(),
|
||||
tr("HTML files (*.html)"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user