Don't allow HTML pipeline export with no capture loaded

This commit is contained in:
baldurk
2018-08-09 16:56:49 +01:00
parent 74b71f538c
commit de59556c3b
@@ -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)"));