mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 13:20:54 +00:00
Add sanity check for if dock area isn't available while restoring layout
This commit is contained in:
@@ -1657,6 +1657,9 @@ void TextureViewer::SetupTextureTabs()
|
||||
{
|
||||
ToolWindowManagerArea *textureTabs = ui->dockarea->areaOf(ui->renderContainer);
|
||||
|
||||
if(!textureTabs)
|
||||
return;
|
||||
|
||||
QIcon tabIcon;
|
||||
tabIcon.addFile(QStringLiteral(":/logo.svg"), QSize(), QIcon::Normal, QIcon::Off);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user